Class UserTaskTriggerTopicConsumer
java.lang.Object
io.taktx.client.UserTaskTriggerTopicConsumer
This class is responsible for consuming user task trigger events from a Kafka topic and passing
them to a provided consumer.
-
Method Summary
Modifier and TypeMethodDescriptionvoidstop()Stops the consumer from processing further records.voidsubscribeToUserTaskTriggerTopics(UserTaskTriggerConsumer externalTaskTriggerConsumer) Subscribes to the user task trigger topic and starts consuming messages, passing them to the provided consumer.
-
Method Details
-
subscribeToUserTaskTriggerTopics
Subscribes to the user task trigger topic and starts consuming messages, passing them to the provided consumer.- Parameters:
externalTaskTriggerConsumer- the consumer to handle incoming UserTaskTriggerDTO messages
-
stop
public void stop()Stops the consumer from processing further records.
-