Otavio Rodolfo Piske created CAMEL-21664:
--------------------------------------------
Summary: camel-kafka: avoid unecessary secondary cache miss on
record metadata
Key: CAMEL-21664
URL: https://issues.apache.org/jira/browse/CAMEL-21664
Project: Camel
Issue Type: Task
Components: camel-kafka
Affects Versions: 4.9.0, 4.8.3
Reporter: Otavio Rodolfo Piske
Assignee: Otavio Rodolfo Piske
Fix For: 4.10.0
When recording the metadata, [the body will be either an Exchange or a
Message|https://github.com/apache/camel/blob/camel-4.8.3/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/producer/support/ProducerUtil.java#L75-L82],
but not both. Therefore, trying to match both may incur in a JVM's secondary
super's cache miss, potentially affecting performance.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)