Important
We’re excited to hear from you and would love to get your feedback on the product. Your insights are invaluable and will help us shape the future of our product to better meet your needs. The survey will only take a few minutes, and your responses will be completely confidential.
Streamiz Kafka .NET is .NET stream processing library for Apache Kafka.
KAFKA is a registered trademark of The Apache Software Foundation and
has been licensed for use by Streamiz. Streamiz has no
affiliation with and is not endorsed by The Apache Software Foundation.
Waiting run task is complete. The task is consider complete some seconds after viewing this message "🚀 Enjoy Streamiz the .NET Stream processing library for Apache Kafka (TM)"
Switch to producer
terminal and send sentences or word. The sample case is "Count the number words" similar to here
Switch to consumer
terminal and check aggregation result
Read the full documentation on https://lgouellec.github.io/streamiz/
Nuget packages are listed to nuget.org
Install the last version with :
dotnet add package Streamiz.Kafka.Net
There, a sample streamiz application :
static async System.Threading.Tasks.Task Main(string[] args)
{
var config = new StreamConfig<StringSerDes, StringSerDes>();
config.ApplicationId = "test-app";
config.BootstrapServers = "localhost:9092";
StreamBuilder builder = new StreamBuilder();
var kstream = builder.Stream<string, string>("stream");
var ktable = builder.Table("table", InMemory.As<string, string>("table-store"));
kstream.Join(ktable, (v, v1) => $"{v}-{v1}")
.To("join-topic");
Topology t = builder.Build();
KafkaStream stream = new KafkaStream(t, config);
Console.CancelKeyPress += (o, e) => {
stream.Dispose();
};
await stream.StartAsync();
}
Features | Kafka Streams (JAVA) supported | Streamiz supported | Comment |
---|---|---|---|
Stateless processors | X | X | |
RocksDb store | X | X | |
Standby replicas | X | No plan for now | |
InMemory store | X | X | |
Transformer, Processor API | X | X | |
Punctuate | X | X | |
KStream-KStream Join | X | X | |
KTable-KTable Join | X | X | |
KTable-KTable FK Join | X | Plan for future | |
KStream-KTable Join | X | X | |
KStream-GlobalKTable Join | X | X | |
KStream Async Processing (external call inside the topology) | X | Not supported in Kafka Streams JAVA | |
Hopping window | X | X | |
Tumbling window | X | X | |
Sliding window | X | No plan for now | |
Session window | X | No plan for now | |
Cache | X | X | EA 1.6.0 |
Suppress(..) | X | No plan for now | |
Interactive Queries | X | No plan for now | |
State store batch restoring | X | No plan for now | |
Exactly Once (v1 and v2) | X | X | EOS V1 supported, EOS V2 not supported yet |
Feel free to reach out to our community support here anytime; we're here to help you with any questions or issues you may have!