[ 
https://issues.apache.org/jira/browse/FLINK-24282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated FLINK-24282:
-----------------------------------
    Labels: pull-request-available  (was: )

> 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)

Reply via email to