Siebel Kafka Event Handler BS Unable To Process String Arrays In The Json Fetched From KAFKA Topic
(Doc ID 3040826.1)
Last updated on AUGUST 12, 2024
Applies to:
Siebel CRM - Version 24.4 and laterInformation in this document applies to any platform.
Symptoms
Siebel Kafka Event Handler Business Service is ignoring the String Array in the message while converting the Json to Property Set
The issue can be reproduced at will with the following steps:
- Start kafka zookeeper
- Start kafka Server
- Start AI sidecar
- Start producer for a topic (Example: TestExternalEvent) to test external message
- C:\kafka\bin\windows\kafka-console-producer.bat --topic TestExternalEvent --bootstrap-server "winxxxxstd.xx.xxxxxx.com":90xx --producer.config "C:\kafka\config\producer.properties"
- Note: Modify the Event Handler Business Service which is specified against to this topic from Sitemap--Administration-Application--Event Subscription so that the Input message should send to another Topic (Example: TestEnhancedExternalEvent) using SendEvent Method
- Start Consumer for a topic (Example: TestEnhancedExternalEvent) to receive the Input Message
- C:\kafka\bin\windows\kafka-console-consumer.bat --topic TestEnhancedExternalEvent--bootstrap-server "winxxxxstd.xx.xxxxxx.com":90xx --consumer.config "C:\kafka\config\consumer.properties"
- Post the below Input Request Message in producer
- {"strvalue":"{\"Status\":\"Active\",\"Status Reason\":\"New\"}","CustName":"Test","OcvTags":["ANZX","Broker - Introducer"],"CustAddr":"TestAddr"}
- Check the data in consumer and can see the data is trimming from String Array and giving the output as below.
- {"strvalue":"{\"Status\":\"Active\",\"Status Reason\":\"New\"}","CustName":"Test"}
- Note: Data is trimming from String Array and the respective continued tags after string array.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |