Configuring Synchronous Publishing

You can configure synchronous event publishing using one of the following ways:

  • Option 1: Publish with configuration only, without writing any custom code. The following represents conceptual data flow for a No-Code/1-Step Publish:

    Option 1 Configuring Synchronous Publishing

    Following are the configurations required:

    1. Create a business service based on CSSEAIEventHandler or its subclass.

    2. Create RTE with Action Set as follows:

      Attribute Value

      Action Type

      Business Service

      Business Service Name

      MyDerivedAccountEvtPubSub

      Business Service Method

      SendEvent

    3. Configure eventpayloadconfig.txt, which involves adding entries in the eventpayloadconfig.txt file for the business components and fields whose data then get posted to Kafka. See Configuration Files for Payload Generation

    Note: Siebel pre-delete record RTE is supported only for synchronous (or 1-Step) payload transmission to Kafka.
  • Option 2: Send bespoke content to Kafka by implementing custom business logic.

    The following represents conceptual data flow for publishing any desired content to Kafka from custom implementation:

    Option 2 Configuring Synchronous Publishing

    Following are the configurations required:

    1. Create Business Service based on CSSEAIEventHandler or its subclass.

    2. Generate custom payload inside the custom business service created in the last step.

    3. Invoke SendEvent method.

    Note: In this option, you do not need to configure eventpayloadconfig.txt.

Enabling Event Subscription Screen

To enable event subscription screen

Note: This is a one-time activity.
  1. Go to Sitemap >Administration-Application >Views.

  2. Add a view by the name External Event View

  3. Assign users with appropriate responsibilities.

  4. Clear the cache, log out and log in again.

  5. You can now see the Event Subscription view.

Configuring Event Subscription

To configure a subscription in Siebel

  1. Go to Sitemap > Administration-Application.

  2. Click Event Subscription and enter the following details in the view that opens:

    1. Business Service of choice under the field Service (any business service to process records received from Kafka).

    2. Business Service Method under the field Method (to process records received from Kafka).

    3. Topic name under the field EventStore (Siebel CRM subscribes to this topic in Kafka for event records).

    4. (Optional) Comma separated partition numbers under the field Partitions. When the partitions are specified for the topic (Event Store), the system invokes the Business Service and Method for the specified partitions of the topic.

    Note:
    1. If the Partitions field is not configured (left empty) for a topic (Event Store), the Business Service and Method will be invoked for all partitions of the topic configured in the aieventconfig.txt configuration file.

    2. You must restart the AI sidecars after altering the number of partitions of a topic.Smish121999!