[
https://issues.apache.org/jira/browse/FLINK-24282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dawid Wysakowicz closed FLINK-24282.
------------------------------------
Resolution: Fixed
Fixed in:
* master
** 2ae710671442e382888b615c65f8aed5781bfaa4
* 1.14
** 8c1033d9dfc3133891ee543f4c6b4ea568789ab0
> 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
> Assignee: Fabian Paul
> Priority: Blocker
> Labels: pull-request-available
>
> 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)