Several topics are usually defined in the Kafka cluster, which are created by the cluster administrator. It is not possible to create or delete topics in the cluster from ibaPDA.

If you highlight the Topics node, the list of topics is shown, that are to be written by the data store.

Buttons for the configuration of the topics:



Download the topic list from the Kafka cluster (a connection to the cluster is required)



Manually add a new topic



Remove selected topic



Copy selected cell content to the clipboard



Paste data from the clipboard into cells



Move selected Topic up



Move selected Topic down

If you select JSON as data format, you can set whether digital signals are sent as 1/0 or true/false.

You can reduce the amount of data to be transmitted if you enable the Send only changed values option.

The Compact JSON format option also reduces the amount of data transmitted and removes filler characters, such as multiple spaces, line breaks, etc., from the telegram.

The fields to the right show the number of active topics and active signals.

Meaning of the columns

Active

Here you enable/disable writing to a topic.

Name

Enter an unambiguous name for the topic here.

Key

The key frame property is optional You can define this property with a series of placeholders:

    • $identifier: Identifier, defined in the data storage configuration, see chapter Kafka cluster data store

    • $signalid: Signal ID

    • $signalname: Signal name

    • $unit: Signal unit

    • $comment1: Signal comment 1

    • $comment2: Signal comment 2

When using the grouped data format JSON (grouped), signal-related placeholders are replaced by empty text.

Metadata

If you chose one of the JSON formats as the data format for the topic, you can choose metadata in the drop-down menu that is saved with the topic.

Available for selection are: Unit, comment 1 + 2, timestamp, signal name, signal ID, identifier. Select the desired metadata with a check mark.

Signal reference

In the drop-down menu, select whether the signal ID or the signal name should be used as a signal reference.

Data format

The following data formats are supported:

  • JSON (grouped): all signal data for a certain time stamp is combined in a message

  • JSON (per signal): one message is created per signal and time stamp

  • AVRO (grouped): all signal data for a certain time stamp is combined in a message

  • AVRO (per signal): one message is created per signal and time stamp

You can find examples of the description of the data formats in chapter Description of the data formats.

Signals

In order to configure the signals that you want to write in a topic, select the topic in the structure tree or click on the <…> button in the Signals column.

In the following dialog, you assign the desired signals to the topics using the storage profiles. See chapter Signal selection.