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

Martijn Visser commented on FLINK-33866:
----------------------------------------

[~tzulitai] WDYT?

> KafkaSinkBuilder in flink-connector-kafka references DeliveryGuarantee in 
> flink-connector-base
> ----------------------------------------------------------------------------------------------
>
>                 Key: FLINK-33866
>                 URL: https://issues.apache.org/jira/browse/FLINK-33866
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Kafka
>    Affects Versions: kafka-3.0.2
>            Reporter: Kurt Ostfeld
>            Priority: Minor
>
> I have a Flink project that has code like:
> ```
> KafkaSink.<String>builder().setDeliveryGuarantee(DeliveryGuarantee.AT_LEAST_ONCE)
> ```
>  
> This worked with flink-connector-kafka 3.0.1 as well as past versions of 
> Flink.
>  
> This fails to compile with flink-connector-kafka 3.0.2 because that release 
> changed flink-connector-base to a provided dependency so the reference to the 
> DeliveryGuarantee class becomes a compiler error.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to