BatchProduceException constructor (1 of 2)
Initializes a new instance of the BatchProduceException class.
public BatchProduceException(IReadOnlyCollection<BatchProduceItem> items)
| parameter | description |
|---|---|
| items | The items contained in the batch |
See Also
- class BatchProduceItem
- class BatchProduceException
- namespace KafkaFlow.Producers
BatchProduceException constructor (2 of 2)
Initializes a new instance of the BatchProduceException class.
public BatchProduceException(IReadOnlyCollection<BatchProduceItem> items, Exception innerException)
| parameter | description |
|---|---|
| items | The items contained in the batch |
| innerException | The exception that caused the batch produce to fail |
See Also
- class BatchProduceItem
- class BatchProduceException
- namespace KafkaFlow.Producers