You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by rmetzger <gi...@git.apache.org> on 2017/06/26 15:49:11 UTC

[GitHub] flink pull request #3270: [FLINK-4286] Have Kafka examples that use the Kafk...

Github user rmetzger commented on a diff in the pull request:

    https://github.com/apache/flink/pull/3270#discussion_r124046687
  
    --- Diff: flink-examples/flink-examples-streaming/pom.xml ---
    @@ -360,6 +360,26 @@ under the License.
     						</configuration>
     					</execution>
     
    +					<!--Kafka09-->
    +					<execution>
    +						<id>Kafka09</id>
    +						<phase>package</phase>
    +						<goals>
    +							<goal>jar</goal>
    +						</goals>
    +						<configuration>
    +							<classifier>Kafka09</classifier>
    +							<archive>
    +								<manifestEntries>
    +									<program-class>org.apache.flink.streaming.examples.kafka.ReadFromKafka09</program-class>
    +								</manifestEntries>
    +							</archive>
    +							<includes>
    +								<include>org/apache/flink/streaming/examples/kafka/ReadFromKafka09.class</include>
    +								<include>org/apache/flink/streaming/examples/kafka/WriteToKafka09.class</include>
    +							</includes>
    +						</configuration>
    +					</execution>
    --- End diff --
    
    I don't think you can use the maven jar plugin for creating the kafka09 example. This won't include the needed dependencies into the jar.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---