Message |
[+]
Avaya Breeze
» .NET application connecting to Kafka on Analytics, 08/12/2020 07:26:13
» Go to message
|
|
Hi Vincent,
Thank you very much for your response.
We can now connect to Kafka and produce message on realtimesubscriptionrequest topic.
Kafka responds back by a failure message on realtimesubscriptionresponse telling that the user cannot be authenticated.
Here is the JSON message we publish on realtimesubscriptionrequest
var configProducer = new ProducerConfig
{
BootstrapServers = brokerList,
ClientId = Dns.GetHostName(),
StatisticsIntervalMs = 5000,
SecurityProtocol = SecurityProtocol.Ssl,
SslCaLocation = @"E:\Certificates\AC-RACINE-NF-rootCA.pem",
Debug = "security"
};
var realtimesubscriptionrequestTopic = new Dictionary<string, string>
{
{"userName","agentstatepublisher"},
{"password","Mypassword"},
{"subscriptionRequestId","SUB_1232"},
{"request","SUBSCRIBE"},
{"measuresStream","AGENTMEASURES"},
{"version","4.1"}
};
Here is the message we get from Kafka on realtimesubscriptionresponse topic.
{"subscriptionRequestId":"SUB_1232","userName":"agentstatepublisher","measuresStream":"AGENTMEASURES","topic":null,"result":"FAILURE","reason":"The subscription request 'user' could not be authenticated","version":"4.1","subscribedToStreams":[]},"key":null,"keyMeta":null,"valueMeta":{},"valueDecoder":"Json","keyDecoder":null}
The subscription request 'user' could not be authenticated
However, our agentstatepublisher user is declared in ACM as Manager and Analytics and Oceana supervisor. The user are associated to agent groups.
Any idea.
Thank you very much in advance.
|
|
[+]
Avaya Breeze
» .NET application connecting to Kafka on Analytics, 25/11/2020 06:46:24
» Go to message
|
|
Also, it would be great to have an example even it is not in .NET.
Regards.
|
|
[+]
Avaya Breeze
» .NET application connecting to Kafka on Analytics, 25/11/2020 06:44:41
» Go to message
|
|
Hello,
Thank you your reply.
Here is the exception
2020-11-25 13:43:27,422 [1] ERROR Exception Soruce => Confluent.Kafka
2020-11-25 13:43:27,805 [1] ERROR Exception Message => ssl.certificate.location failed: .\ssl\ssl_rsa.c:708: error:140DC009:SSL routines:SSL_CTX_use_certificate_chain_file:PEM lib
2020-11-25 13:43:28,365 [1] ERROR Exception StackTrace at Confluent.Kafka.Impl.SafeKafkaHandle.Create(RdKafkaType type, IntPtr config, IClient owner)
at Confluent.Kafka.Consumer`2..ctor(ConsumerBuilder`2 builder)
at Confluent.Kafka.ConsumerBuilder`2.Build()
at AgentStatePublisher.CKafkaConsumer.SubscribeAsync(String PTopic, Action`1 message) in E:\Development\AgentStatePublisher\CKafkaConsumer.cs:line 60
at AgentStatePublisher.CKafkaManager.Start() in E:\Development\AgentStatePublisher\CKafkaManager.cs:line 79
|
|
[+]
Avaya Breeze
» .NET application connecting to Kafka on Analytics, 23/11/2020 06:17:15
» Go to message
|
|
Hello Everybody,
We are developing a custom application using Confluent .NET library. This application is supposed to be a Kafka consumer subscribing on real-time agent states events. We have difficulties connecting to Kafka server on Analytics using TLS protocol.
Does anyone know which must be set on ConsumerConfig parameter be subscribing ?
var tConsumerConfig = new ConsumerConfig
{
BootstrapServers = pCApplicationParametersManager.PKafkaBroker + ":" +
pCApplicationParametersManager.PKafkaTLSPort.ToString(),
SecurityProtocol = SecurityProtocol.Ssl,
SslCertificateLocation = @"E:\Certificates\a_lab_kafka.cer.pem",
SslKeyLocation = @"E:\Certificates\a_lab_kafka_key.pem",
SslKeyPassword = @"myPassword",
GroupId = "groupid",
Debug = "security"
};
Do you have a .NET example to share ?
Thank you very much for your help.
Regards.
Shahin
|
|
[+]
IP Office Contact Center Web Services Collection (WSC) (Read-Only Archive June 2021)
» Accessing IP Office directory, 16/07/2019 08:18:46
» Go to message
|
|
Hello,
I would like to add data to IPO directory. Our customer wants to get the list of his numbers available on his own Exchange directory in the IPO Directory.
We would then develop a piece of software capable to read the customer's Exchange directory and inject the data into the IPO directory.
Could someone tell how we can access IPO directory (LDAP, database access, etc.) ?
Thank you very much indeed.
Regards.
Shahin
|
|
[+]
Server Platform
» ACR : Search and Replay Webservice, 03/01/2019 04:30:53
» Go to message
|
|
Hi,
Sorry if I post this question regarding ACR in this forum. Actually, I did not find any group concerning ACR (Call Recording) product.
Our customer is asking for providing them WAV ACR files for storage on a third party server. We are planning to use Search é Replay webservice to address this issue.
Do you think this is a good approach or should we use another method ?
Regards.
Nicolash
PS. If you know any forum more concerned about this question, please let me know.
|
|