DevTest Kafka step configuration for a kafka serializer.
search cancel

DevTest Kafka step configuration for a kafka serializer.

book

Article ID: 229334

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

How to configure a Kafka serializer in the DevTest Kafka send and receive step.   For example an Avro serializer.

Environment

Release : 10.7 and later

Component : DevTest Workstation

Cause

N/A

Resolution

To configure a Serializer in the Kafka step and in the associated assets, the following has to be configured in the local.properties file:
lisa.experimental=true

Follow the instructions in the documentation for setting up the following Kafka Assets:
Kafka Connection
Kafka Topic
Kafka Consumer and Producer

See:  Kafka Advanced Use Cases

Follow the instructions in the documentation for serializers:

After that you can use a property to store the message payload as per this screenshot:

To configure the producer (and consumer) with an Avro serializer use the custom setting:

And configure any properties required by the serializer by selecting "Configuration: Open Editor..." : 

https://techdocs.broadcom.com/us/en/ca-enterprise-software/devops/devtest-solutions/10-7/reference/test-step-descriptions/apache-kafka-steps/kafka-advanced-use-cases.html