CreatePushConsumer creates a push consumer on a given stream with given config. If consumer already exists and the provided configuration differs from its configuration, ErrConsumerExists is returned. If the provided configuration is the same as the existing consumer, the existing consumer is return
(ctx context.Context, cfg ConsumerConfig)
| 145 | // existing consumer is returned. Consumer interface is returned, |
| 146 | // allowing to consume messages. |
| 147 | CreatePushConsumer(ctx context.Context, cfg ConsumerConfig) (PushConsumer, error) |
| 148 | |
| 149 | // UpdatePushConsumer updates an existing push consumer. If consumer does not |
| 150 | // exist, ErrConsumerDoesNotExist is returned. Consumer interface is |
no outgoing calls