oscerd commented on issue #1683:
URL: 
https://github.com/apache/camel-kafka-connector/issues/1683#issuecomment-6632225381

   Sorry for the slow answer. In YAML a `#` only starts a comment when it 
follows whitespace outside quotes, so quoting the whole value is enough, e.g. 
`camel.beans.aggregate: 
'#class:org.apache.camel.kafkaconnector.aggregator.StringAggregator'` (double 
quotes work as well). Please also check the key: it is `camel.beans.aggregate` 
(plural), and `camel.bean.aggregate` as written above is not picked up, which 
would look exactly like quoting not working. If your tooling still mangles the 
value, Camel resolves property placeholders before it reads `#class:`, so the 
value can also come indirectly, for example from an environment variable with 
`{{env:CKC_AGGREGATOR}}` or from a Kafka Connect config provider. Closing this 
as a usage question; if it still fails on 4.22.x, please open a new issue with 
the rendered connector config and the task log (see also 
https://camel.apache.org/camel-kafka-connector/next/user-guide/aggregation.html).
   
   ---
   _Claude Code on behalf of Andrea Cosentino_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to