New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CAMEL-18019: ensure some fields in the Kafka record fetcher are safe for concurrent read #7503
Conversation
|
✔️ Finished component verification: 0 component(s) test failed out of 1 component(s) tested |
What about |
I see also a potential bug here. Indeed the |
One more potential issue, the map |
Please open a separate ticket for this one. |
I think we should probably abstract the task health state that is exposed to the HealthCheck, so it's easier to know what is being accessed elsewhere. |
|
I think we could try to remove this altogether and move its functionality to the commit manager. This is a remainder for the earlier versions of this component (pre 3.7), so I believe what it is trying to do overlaps with what we have there. |
We can also probably remove the reconnect variable at this point (or leave in the appropriate PollExceptionStrategy). Anyway, let's do it in baby steps so it's easier to bisect if we have problems. |
I logged this one here: https://issues.apache.org/jira/browse/CAMEL-18020 (as explained, I think this one should be reworked and moved to a more appropriate location within the code). |
…for concurrent read
❌ Finished component verification: 1 component(s) test failed out of 1 component(s) tested |
✔️ Finished component verification: 0 component(s) test failed out of 1 component(s) tested |
components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaFetchRecords.java
Show resolved
Hide resolved
components/camel-kafka/src/main/java/org/apache/camel/component/kafka/TaskHealthState.java
Show resolved
Hide resolved
I'm going to merge this first bit of changes. Please keep the reviews, comments, tickets going ... |
No description provided.