[ 
https://issues.apache.org/jira/browse/FLINK-10600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16672677#comment-16672677
 ] 

ASF GitHub Bot commented on FLINK-10600:
----------------------------------------

yanghua commented on a change in pull request #6924: [FLINK-10600] Provide 
End-to-end test cases for modern Kafka connectors
URL: https://github.com/apache/flink/pull/6924#discussion_r230287447
 
 

 ##########
 File path: 
flink-end-to-end-tests/flink-kafka-test-base/src/main/java/org/apache/flink/kafka/tests/KafkaEvent.java
 ##########
 @@ -0,0 +1,74 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.flink.kafka.tests;
+
+/**
+ * The event type used in the {@link Kafka010Example}.
+ *
+ * <p>This is a Java POJO, which Flink recognizes and will allow "by-name" 
field referencing
+ * when keying a {@link org.apache.flink.streaming.api.datastream.DataStream} 
of such a type.
+ * For a demonstration of this, see the code in {@link Kafka010Example}.
+ */
+public class KafkaEvent {
 
 Review comment:
   @pnowojski I tried the solution you said, but it needs to convert the 
existing `flink-examples-streaming` into a parent module (container module). 
There are two problems with this:
   
   * The previous packaging mode of `flink-examples-streaming` is jar. After 
modification, its packing mode is pom, but it will pull the pom file in remote 
maven every time before packaging, which causes local packaging to fail.
   * This approach will introduce a multi-layered container module, which 
breaks the current model of the flink project.
   
   I prefer a flat organizational model, that is, only one layer of the 
container module.
   
   What do you think?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Provide End-to-end test cases for modern Kafka connectors
> ---------------------------------------------------------
>
>                 Key: FLINK-10600
>                 URL: https://issues.apache.org/jira/browse/FLINK-10600
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Kafka Connector
>            Reporter: vinoyang
>            Assignee: vinoyang
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 1.7.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to