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

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

pnowojski 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_r229983121
 
 

 ##########
 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:
   I have talked with @tzulitai and we concluded that to avoid this duplication 
it would be best to:
   
   - Move submodule (and rename) `flink-kafka-test-base` to 
`flink-streaming-examples/flink-kafka-example-base`
   - Kafka version specifics (`flink-streaming-examples/flink-kafka-example` 
and `flink-streaming-examples/flink-kafka-0.10-example`) extend that base
   - End to end tests just use the example jobs for testing

----------------------------------------------------------------
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:
[email protected]


> 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