-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
I'm trying to model a system which uses a Kafka producer.
A Kafka producer works with a queue size and a linger time. A Kafka producer will send messages to a broker if one of two criteria are met. Either there are messages in queue on the producer and a linger time has passed, or, the number of messages in the queue has exceeded some amount.
Thinking through this in ciw terms, it seems like a slotted service that is capacitated would give me the behavior of linger time. However, I need to forgo this behavior if the queue size gets large enough. I'm not sure I'm seeing a clear way from the docs to simulate either the queue size behavior or the dual behavior of the serving node.
Welcome to any suggestions.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels