I don't see any article/blog written around KSQL DB for asp.net core and there are less/no documentation available. It would be appreciated if you could help me with the code/article/blog on kSQLDB with asp.net core
I don't see any article/blog written around KSQL DB for asp.net core and there are less/no documentation available. It would be appreciated if you could help me with the code/article/blog on kSQLDB with asp.net core
You can use ksqlDB.RestApi.Client package in .NET / C#.
Install-Package ksqlDB.RestApi.Client
There is an AspNet Blazor sample in tomasfabian\ksqlDB.RestApi.Client-DotNet GitHub repository. It demonstrates how to use ksqldb streams, tables and monitor push notifications from SQL Server with a connector. You can react to these topics (streams/tables) with a Kafka consumer or ksqldb client.
Clone the repository:
https://github.com/tomasfabian/ksqlDB.RestApi.Client-DotNet.git;
Open InsideOut.sln in Visual Studio 2019 and set docker-compose as startup project.
This console app contains LINQ to ksqldb query examples. There are also some LinqPad samples available.
You should also check the Readme.
I think that this could be a good starting point for you.
ksqlDB is written in Java, thus cannot be "hosted" by ASP.NET infrastructure. Similarly, to my knowledge, there is no Kafka Streams equivalent library for .NET.
ksqlDB offers a REST API if you needed to interact with it from other languages