AHeise commented on code in PR #121:
URL:
https://github.com/apache/flink-connector-kafka/pull/121#discussion_r1778785067
##########
flink-connector-kafka/src/main/java/org/apache/flink/streaming/connectors/kafka/partitioner/FlinkKafkaPartitioner.java:
##########
@@ -18,39 +18,15 @@
package org.apache.flink.streaming.connectors.kafka.partitioner;
import org.apache.flink.annotation.PublicEvolving;
-
-import java.io.Serializable;
+import org.apache.flink.connector.kafka.sink.KafkaPartitioner;
/**
* A {@link FlinkKafkaPartitioner} wraps logic on how to partition records
across partitions of
* multiple Kafka topics.
+ *
+ * @deprecated Use {@link KafkaPartitioner} instead for {@link
+ * org.apache.flink.connector.kafka.sink.KafkaSink}.
*/
@PublicEvolving
-public abstract class FlinkKafkaPartitioner<T> implements Serializable {
-
- private static final long serialVersionUID = -9086719227828020494L;
Review Comment:
Good point. Restored the field inline.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]