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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to