Skip to main content

CompetitionLabs Academy

Kafka Transformers Set-up

Step 1: Transformer creation

Kafka Transformers Set-up

Press Add Transformer for a new pop-up window, as shown in the example below, where you enter the new transformer’s label.

Transformer creation fields

Name String
Mandatory
The label of the transformer.
Kafka Transformers Set-up

When you press the icon button Save the transformer will be saved.

Kafka Transformers Set-up

If you do all the steps correctly, the Transformer will be created in Settings → Transformers, as shown in the example. After creation, you can Edit the transformer and the code of the transformer, or Delete it from the list.

Step 2: Writing code for the transformer

Kafka Transformers Set-up

To enter your transformer’s code, press Kafka Transformers Set-upCode edit for a new pop-up window in which you enter your code, as shown in the example.

Step 3: Event Consumer creation

Kafka Transformers Set-up

Next, you need to navigate to Event consumers -> Add consumer config for a new pop-up window where you enter the new Consumer information, as shown in the example.

Enter all the information, and in the Transformers field, select the Kafka Transformer. If all the information is correct, press Save to create the event consumer.

You can read more about the Event Consumer creation fields at Settings -> Event Consumers -> Event Consumer Creation, or here.

Step 4: Checking if the data is flowing

The Event Consumer is in Stop state by default. If the event Consumer is Active, you can stop it at any time.

To activate your Event consumer, press Play, and you will see the events being streamed in the Insights section.

Cookie Settings

We use cookies to keep the site working, understand usage, and improve relevance. Read our Cookie Policy and Privacy Policy.