My Oracle Support Banner

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

  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
    • {"strvalue":"{\"Status\":\"Active\",\"Status Reason\":\"New\"}","CustName":"Test","OcvTags":["ANZX","Broker - Introducer"],"CustAddr":"TestAddr"}
  7. 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"}



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


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