Fabian Paul created FLINK-24282: ----------------------------------- Summary: KafkaRecordSerializationSchema TopicSelector is not serializable Key: FLINK-24282 URL: https://issues.apache.org/jira/browse/FLINK-24282 Project: Flink Issue Type: Bug Affects Versions: 1.14.0 Reporter: Fabian Paul
To dynamically calculate the outgoing topic we allow passing a lambda. Unfortunately, it is currently not marked as serializable hence the following code fails in during closure cleaning when used within a job. {code:java} KafkaRecordSerializationSchema.builder() .setTopic(topic) .setValueSerializationSchema(serSchema) .setPartitioner(partitioner) .build()) {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)