Otavio Rodolfo Piske created CAMEL-18019:
--------------------------------------------

             Summary: camel-kafka: review fields for concurrent access
                 Key: CAMEL-18019
                 URL: https://issues.apache.org/jira/browse/CAMEL-18019
             Project: Camel
          Issue Type: Task
          Components: camel-kafka
            Reporter: Otavio Rodolfo Piske


Recent features such as the pausable API and the health checks may result in 
concurrent access to the Kafka fetch records task thread. This was not the case 
when the code was last refactored.

As such, this may require that some fields are properly guarded or marked as 
volatile [1].

 

This is a task to review that. (h/t: to [~essobedo] who raised this warning) 

 

1. https://github.com/apache/camel/pull/7502#issuecomment-1110979435



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to