Hey Boda,
You said the producer doesn't log anything, so first make sure it's really sending. Try reading the topic with a console consumer.
If messages are there, check these:
The consumer is actually started, for example from your after-startup microflow.
The topic name and broker are exactly the same on both sides.
Try setting auto.offset.reset to "earliest". Also try a new group id.
The On Receive microflow has the right input parameter.
Also turn on debug logs for the Kafka log node to see if anything comes in. Hope that helps 🙂
Hi Santhosh,
Based on your screenshots, the consumer is enabled and the On Receive microflow is configured. However, enabling a consumer does not necessarily mean that it has been started and subscribed to the Kafka topic.
The Siemens Kafka Connector documentation specifically recommends starting consumers from the application's After Startup microflow.
I would check the following in this order:
1. Start the Kafka consumer explicitly
Open the connector module and check the example microflow Example_AfterStartupConsumer.
Use the same consumer-start mechanism in your application's After Startup microflow.
Restart the application after saving the consumer configuration.
This is the first thing I would verify because the On Receive microflow will not execute until an active consumer is polling the topic.
2. Configure a consumer Group ID
Your screenshot shows an empty Group ID.
For testing, configure a unique Group ID, for example:
mendix-customer-consumer-testA Group ID is strongly recommended for tracking consumer offsets.
When testing historical messages, remember that a new consumer group does not necessarily read older messages. Its behavior depends on the auto.offset.reset configuration.
Set auto.offset.reset=earliest if you want a new consumer group to read existing records. Otherwise, produce a fresh message after the consumer has started.
3. Verify the topic and consumer configuration
Confirm that:
Topic name is exactly Customer.
The producer sends messages to the same Kafka cluster and topic.
Content Type is String, matching your On Receive microflow.
The consumer has permission to read the topic and participate in its consumer group.
The consumer is assigned at least one partition.
4. Verify the On Receive microflow
The Siemens Kafka Connector expects the predefined message parameters, including:
Offset - Integer/Long
Key - String
Value - String
Partition - Integer/Long
Consumer - Consumer
Topic - StringKeep the expected parameters and add a Log Message activity at the beginning of the microflow.
For example:
'Kafka message received. Topic: ' +
$Topic +
' | Value: ' +
$Value5. Enable Kafka logging
The Siemens Kafka Connector redirects Kafka library logging into Mendix.
Enable the relevant Kafka logging nodes at a detailed level temporarily and check for:
Consumer startup failures
Authentication or authorization errors
Topic subscription errors
Partition assignment issues
Consumer group rebalancing
Deserialization exceptions
6. Verify the consumer group from Kafka
If you have access to Kafka CLI tools, execute:
kafka-consumer-groups.sh \
--bootstrap-server <broker-host>:9092 \
--describe \
--group mendix-customer-consumer-testCheck whether the consumer group exists, has assigned partitions, and whether its offsets advance when messages are produced.
Recommended flow:
Mendix Application Starts
|
v
After Startup Microflow
|
v
Start Kafka Consumer
|
v
Subscribe to Customer Topic
|
v
Receive Kafka Message
|
v
Execute On Receive Microflow
|
v
Log / Process MessageMy recommendation: First verify that the consumer-start action is executed during application startup. Then configure a Group ID, restart the application, and produce a new message to the Customer topic.
If the On Receive microflow still does not execute, check the Kafka runtime logs and consumer group partition assignment. Those results will identify whether the problem is consumer startup, subscription, authorization, or message delivery.
Official Siemens Kafka Connector documentation:
https://marketplace.mendix.com/link/component/105878/Siemens/Kafka
Hope this helps! If you find this answer helpful, please mark it as the accepted answer.