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

Roman Khachatryan commented on FLINK-18796:
-------------------------------------------

During the offline discussion, we agreed that making field volatile makes 
sense; caching it would be overkill, and there should be no visible performance 
impact. 

 

Besides Kinesis and Cassandra, there is only one such sink: 
FlinkKafkaProducerBase.flushOnCheckpoint.

> FlinkKinesisProducer.backpressureLatch should be volatile
> ---------------------------------------------------------
>
>                 Key: FLINK-18796
>                 URL: https://issues.apache.org/jira/browse/FLINK-18796
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Kinesis
>    Affects Versions: 1.11.1
>            Reporter: Roman Khachatryan
>            Assignee: Roman Khachatryan
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.12.0
>
>
> (confirm first)
>  
> cc: [~rmetzger]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to