About Kafka Topics for Plant Applications
Plant Applications services publish messages to the kafka topics when the following events occur:
- An operation is complete.
- A serial/lot is clocked on for an operation.
- A serial/lot is clocked off for an operation.
- A material lot is accepted in the Receiving Inspection application.
- A route is released.
- A process/work order is created, updated, completed, or deleted. When a process order is complete, information about the quantity of the product that is produced is included as well.
- An event fails.
- A new comment thread is created, updated, deleted, or comment count changes.
- A workflow changes.
When one of these events occur, the Plant Applications services perform the following operations:
- Insert a message in a JSON format.
- Publish an event to the Kafka topic associated with the event.
These Plant Applications services publish messages to the following kafka topics:
Service Name | Kafka Topic | Events |
---|---|---|
ERP Export |
|
Clock-on, Clock-Off, Operation Complete, Material Scrap, Release Route, Process/Work Order Created/Updated/Completed/Deleted |
ERP Import |
|
Inbound Request processes |
Route |
|
Release Route |
MES |
|
Production Plan, Workflow Changes, Failed Event |
Comment | mes.comment.commentThreads | Comment Thread Created, Updated, Deleted, Count Change |
Product | mes.product.materialLots | Material Lot Accepted |
Approval Cockpit | mes.apc.workflows | Workflow Change |
Labor |
|
Failed Event |
Work Order |
|
Work Order Changes |
To view a list of kafka topics, type the following command in the command prompt:
kafka-topics.bat --list --zookeeper <hostname>:2185
kafka-topics.bat --bootstrap-server <hostname>:9095 –describe

In the Enterprise Plant Applications Web Client installation the port is static but in the Standard Plant Applications Web Client, the user can select the ports on the screen during installation, then configure the port as a dynamic parameter. The hostname and port information can be viewed in a common-service prop properties file.