This is an automated email from the ASF dual-hosted git repository.
ricardozanini pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-docs.git
The following commit(s) were added to refs/heads/main by this push:
new 5c78686f1 Issue-724 Add example for property configuration with custom
default channel names (#725)
5c78686f1 is described below
commit 5c78686f17d6566592372b2c6e3ac16c1d490f98
Author: Moti Asayag <[email protected]>
AuthorDate: Mon Jun 16 16:12:24 2025 +0300
Issue-724 Add example for property configuration with custom default
channel names (#725)
Add example for property configuration with custom default channel names
Add property configuration example demonstrating use of defaultName for
custom channel mapping
Signed-off-by: Moti Asayag <[email protected]>
---
.../consume-producing-events-with-kafka.adoc | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git
a/serverlessworkflow/modules/ROOT/pages/use-cases/advanced-developer-use-cases/event-orchestration/consume-producing-events-with-kafka.adoc
b/serverlessworkflow/modules/ROOT/pages/use-cases/advanced-developer-use-cases/event-orchestration/consume-producing-events-with-kafka.adoc
index 4c07aaeb3..786ddf9f2 100644
---
a/serverlessworkflow/modules/ROOT/pages/use-cases/advanced-developer-use-cases/event-orchestration/consume-producing-events-with-kafka.adoc
+++
b/serverlessworkflow/modules/ROOT/pages/use-cases/advanced-developer-use-cases/event-orchestration/consume-producing-events-with-kafka.adoc
@@ -109,6 +109,21 @@
mp.messaging.outgoing.kogito_outgoing_stream.connector=smallrye-kafka
mp.messaging.outgoing.kogito_outgoing_stream.topic=decisions
mp.messaging.outgoing.kogito_outgoing_stream.value.serializer=org.apache.kafka.common.serialization.StringSerializer
----
+
+.Example property configuration with custom default channel names
+[source,properties]
+----
+kogito.addon.messaging.incoming.defaultName=incoming_channel
+kogito.addon.messaging.outgoing.defaultName=outgoing_channel
+
+mp.messaging.incoming.incoming_channel.connector=smallrye-kafka
+mp.messaging.incoming.incoming_channel.value.deserializer=org.apache.kafka.common.serialization.ByteArrayDeserializer
+mp.messaging.incoming.incoming_channel.topic=incoming-events
+
+mp.messaging.outgoing.outgoing_channel.connector=smallrye-kafka
+mp.messaging.outgoing.outgoing_channel.value.serializer=org.apache.kafka.common.serialization.StringSerializer
+mp.messaging.outgoing.outgoing_channel.topic=outgoing-events
+----
--
== OnOverflow handling
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]