Working with Kafka_CustomSerializerSample Project

This sample demonstrates how to configure and use the Custom Serializer and Deserializer in the Send and Receive activities. The java code for the serializer or deserializer is in the src folder. The example uses Google protocol buffer to demonstrate the custom serializer ability.

Prerequisites

Before running the project, you must import the sample project to TIBCO Business Studio.

Procedure

  1. Start TIBCO Business Studio in one of the following ways:
    • For Microsoft Windows, click Start > All Programs > TIBCO > TIBCO_HOME > TIBCO Business Studio version_number > Studio for Designers.
    • For Linux, run the TIBCO Business Studio executable file located in the TIBCO_HOME\studio\version_number\eclipse directory.
  2. From the menu, click File > Import.
  3. In the Import window, expand the General folder and select the Existing Studio Projects into Workspace item. Click Next.
  4. Click Browse next to the Select archive file field to select the Kafka_CustomSerializerSample.zip file. Click Finish. The Kafka_CustomSerializerSample.zip file is in the TIBCO_HOME\bw\palettes\kafka\version\samples directory.

Result

The sample project is imported to TIBCO Business Studio.