davsclaus commented on code in PR #31035: URL: https://github.com/apache/camel/pull/31035#discussion_r4722749624
########## components/camel-jgroups-raft/src/main/docs/jgroups-raft-component.adoc: ########## @@ -45,6 +45,36 @@ include::partial$component-endpoint-options.adoc[] include::partial$component-endpoint-headers.adoc[] // component options: END +== Channel configuration + +The `channelProperties` option (of the endpoint or the component) sets the JGroups XML configuration of the channel, +as a file, a URL or a classpath resource. When it is not set, the endpoint uses `raft.xml`, which is the configuration +in the `camel-jgroups-raft` JAR unless the application has its own `raft.xml` first on the classpath. The +`jgroupsConfig` option of the `JGroupsRaftClusterService` has the same default. + +The `raft.xml` in the JAR is a sample for development and tests: + +* it uses UDP multicast (`228.5.5.5`), without authentication or encryption, so any host on the same network that uses +the same cluster name can join the cluster and take part in the Raft log, and the messages are sent in clear text; +* it lists `A` as the only member in the `members` attribute of `RAFT`. Review Comment: Done in 46ffd6e23944: the bullet is split at the comma (catalog copy updated too). _Claude Code on behalf of davsclaus_ -- 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]
