Preferences

The Event Publishing Preferences panel enables you to:

  • Enable event auditing.
  • Select an event message broker for event publishing
  • Specify the ActiveMQ broker destination topic for public events to either standard topics or a virtual queue.

To enable auditing, select a message broker and determine the ActiveMQ target destination for events, click Event Publishing Preferences.

This page discusses:

Publish Events

Select one of the following message brokers for event publishing:

  • ActiveMQ Messge Bus
  • Kafka Event Bus


Kafka supports publishing events to public topics. If you select Kafka Event Bus, Kafka topics appear in the Event Publishing app, and include information to help you manage the event, if required. The topic format for Kafka appears below:

3dsevents.<tenantID>

Disabling ActiveMQ removes the Receive Events From ActiveMQ section from the Event Publishing Preferences panel.

Note: You must select at least one message broker.

Click Set when complete.

Kafka Record Headers

Event Publishing attaches the following UTF-8 headers to each Kafka record:

  • serviceName
  • geoId
  • tenantId
  • eventClass
  • eventType
  • topicIdentifier
  • eventId

Event Publishing adds the topicIdentifier header when the event dictionary defines a header for the event class and service name. The event JSON is the record value, and the partition key is separate from these headers.

eventId is an optional header that identifies an event. If Event Publishing retries after a failure or the same message is delivered more than once, eventId stays the same for the same event. Consumers can use eventId to detect duplicates and skip processed events. If the eventId header is not in the event dictionary, the app calling the header must have its own method for detecting and safely handling repeated requests.

Publishing Events to an ActiveMQ Standard Topic or Virtual Queue

The Receive Events From ActiveMQ section enables organizations to more effectively process events on the 3DEXPERIENCE platform and avoid duplicated event messages in environments with multiple external systems.

Select Standard Topic or Virtual Queue and click Set. By default, Event Publishing publishes events to standard topics. The topic format is:

  • Standard Topic: 3dsevents.<tenantID>.<topic_identifier>
  • Virtual Queue: Consumer.<consumerPoolID>.VirtualTopic.3dsevents.<tenantID>.<topic_identifier>

When you select Standard Topic, you can click the table expand/collapse icon to reveal the Topic Name column, which lists event topic names.

When you select Virtual Queue, the Event Publishing user interface updates to include a Queue Name column for event messages. An Administrator can then use this information to route event messages to one or more required systems.

Multiple consumers with the same poolId can consume events from a virtual queue, and administrators can configure consumer groups to ensure that Event Publishing only consumes the event message once.

Note: All events on a tenant route to either standard topics or virtual queues. You cannot specify which events route to standard topics and virtual queues.

Click Set when complete.