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

Claus Ibsen commented on CAMEL-18096:
-------------------------------------

Would you use transaction with idempotence=false ? I just wonder if that option 
could automatic just be set if you have transaction enabled.
Also how unique should the transaction id be? Does it make sense to have a way 
for Camel to auto generate an unique id?
 

> camel-kafka - Introduce TX options for kafka transaction
> --------------------------------------------------------
>
>                 Key: CAMEL-18096
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18096
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-kafka
>            Reporter: Zheng Feng
>            Assignee: Zheng Feng
>            Priority: Major
>
> Currently it needs to use *addtional-properties* to enable kafka transaction. 
> It would be good if we could make configuring the TX options as new endpoint 
> options so its easier and more tooling friendly. Additional properties is 
> only intended for special and rare use-cases.
>  
>  * transactionalId -> addtional-properties[transactional.id]
>  * idempotence -> additional-properties[enable.idempotence]
>  * retries -> additional-properties[retries]



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

Reply via email to