sukalpo mitra
Jun 15, 2021

Hi Michel,

It’s not considered to be a good BPMN design to have multiple starts. So I will advise you against it. If you need multiple starts then its better that you break your BPMN flows into multiple flows each with their own process file.

Another way can be to have a event type in the message payload produced in the kafka topic and depending on this event type the start event event can XOR out to multiple service tasks.

Now a single service task can actually produce to two different topics. This can be modelled easily.

Another way that you can do is to use KSQLDB in your application and through your service tasks or Java delegates either use the KSQL java client or the KSQL API to do an “INSERT INTO” a topic. KSQL gives a SQL like syntax to handle kafka streams.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Responses (1)

Write a response