Siebel Is Not Handling The Arrays In The Incoming Payload From Kafka Topic And Repeating The Array Elements Twice
(Doc ID 3040842.1)
Last updated on NOVEMBER 01, 2024
Applies to:
Siebel CRM - Version 24.4 and laterInformation in this document applies to any platform.
Symptoms
Siebel is not able to handle the arrays in the incoming payload from the Kafka Topic and repeating twice the array elements while converting the JSON to ProperySet using EventHandler Business Service.
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
- {"StudentName":"David","books":[{"BookName":"Let Us C","BookAuthor":"Rich Dad Poor Dad"}]}
- Check the data in consumer and can see the data as below that array elements are repeating twice
- {"books":{"BookName":"Let Us C","BookAuthor":"Rich Dad Poor Dad"},"ListOfbooks":{"books":{"BookName":"Let Us C","BookAuthor":"Rich Dad Poor Dad"}},"StudentName":"David"}
Changes
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 |
Changes |
Cause |
Solution |
References |