KNet is a comprehensive .NET suite for Apache Kafka™ providing all features: Producer, Consumer, Admin, Streams, Connect, backends (ZooKeeper and Kafka).
Classes which manages iteration over data now implements IEnumerable<T> and IAsyncEnumerable<T> so it is possible to use the instance within a foreach or async foreach statement. The previous usage mode is still valid.
Related Issue
fix #327
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
Description
Classes which manages iteration over data now implements
IEnumerable<T>
andIAsyncEnumerable<T>
so it is possible to use the instance within aforeach
orasync foreach
statement. The previous usage mode is still valid.Related Issue
fix #327
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: