My Oracle Support Banner

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 later
Information 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:

  1. Start kafka zookeeper
  2. Start kafka Server
  3. Start AI sidecar
  4. 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
  5. 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"
  6. Post the below Input Request Message in producer
    • {"StudentName":"David","books":[{"BookName":"Let Us C","BookAuthor":"Rich Dad Poor Dad"}]}
  7. 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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.