flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmetzger <...@git.apache.org>
Subject [GitHub] flink pull request #3270: [FLINK-4286] Have Kafka examples that use the Kafk...
Date Mon, 26 Jun 2017 15:49:11 GMT
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.
---

Mime
View raw message