Replies: 6 comments 6 replies
|
Hi @Vasistan, Http interception with ksqldb .NET client. Let us know how it went. Regards Tomas. |
|
Hi @tbraun-hk, The above mentioned using ksqlDB.RestApi.Client.KSql.Query.Context.Options;
var contextOptions = new KSqlDbContextOptionsBuilder()
.UseKSqlDb(ksqlDbUrl)
.SetBasicAuthCredentials(apiKey, apiSecret)
.Options;
await using var context = new KSqlDBContext(contextOptions);Check also your ksqldb security settings and try to connect from CLI with the same API secret and key. If it doesn't work please try to find the corresponding Confluent Cloud documentation for authentication or post a question in Stackoverflow how to POST a query via REST eg POSTMAN. @Vasistan did you manage to connect to your Confluent Cloud ksqldb instance, please? If yes could you share your approach please? Thank you Tomas. |
|
@tbraun-hk based on this hands on it is possible to connect to Related articles: Please let us know if you proceed further. Thanks a lot! Tomas |
|
Hi @thinnesf so are you able to use both If yes then that's great to know. |
|
Hi @thinnesf, that is strange. In case of KSqlDbRestApiClient the outcome is this: Edit: It would be nice to figure this out somehow. thx |
Uh oh!
There was an error while loading. Please reload this page.
Am tried connecting with confluent cloud instance with this
` var ksqlDbUrl = @"https://XYZX.aws.confluent.cloud:443";
var contextOptions = new KSqlDBContextOptions(ksqlDbUrl);
contextOptions.SetBasicAuthCredentials("KEY", "PASSWORD");
This throws unauthorized error. Can someone help me on this. Am trying to query the stream i have created on ksqldb instance
All reactions