WithMessageProcessingReserveDuration sets the duration for which the message is reserved for handling result state.
(d time.Duration)
| 187 | // WithMetrics sets metrics meter. Default is noop.Meter{}. |
| 188 | func WithMetrics(m metric.Meter) ConsumerOption { |
| 189 | return func(c *consumerConfig) { |
| 190 | c.Metrics = m |
| 191 | } |
| 192 | } |
| 193 | |
| 194 | // WithMessageProcessingReserveDuration sets the duration for which the message is reserved for handling result state. |
| 195 | func WithMessageProcessingReserveDuration(d time.Duration) ConsumerOption { |
| 196 | return func(c *consumerConfig) { |
no outgoing calls