OrderedConsumer returns an OrderedConsumer instance. OrderedConsumer are managed by the library and provide a simple way to consume messages from a stream. Ordered consumers are ephemeral in-memory pull consumers and are resilient to deletes and restarts.
(ctx context.Context, cfg OrderedConsumerConfig)
| 91 | // messages from a stream. Ordered consumers are ephemeral in-memory |
| 92 | // pull consumers and are resilient to deletes and restarts. |
| 93 | OrderedConsumer(ctx context.Context, cfg OrderedConsumerConfig) (Consumer, error) |
| 94 | |
| 95 | // Consumer returns an interface to an existing consumer, allowing processing |
| 96 | // of messages. If consumer does not exist, ErrConsumerNotFound is |
no outgoing calls