Step 1. Launch Aspire and open the Content Source Management Page

Launch Aspire (if it's not already running). See:

Step 2. Add a new Content Source

  • For this step, please follow the instruction from the Configuration Tutorial of the connector of your choice. You can use the Connector list as reference.

Step 3. Add a new Publish to Kafka to the Workflow

Add a Publish to Kafka drag from the Publish to Kafka rule from the Workflow Library, and drop it to the Workflow Tree where you want to add it. This will automatically open the Publish to Kafka window for the configuration of the publisher.

Step 3a. Specify Publisher Information

 In the Publish to Kafka window, specify the connection information to publish to the topic.

  1. General
    1. Topic: Topic to publish.
  2. Server
    1. Kafka server: Server to publish.
    2. Port: Port to publish. By default, Kafka uses port 9092.
  3. Transform documents
    1. Transform to JSON: enable this option to transform the documents to JSON format.
    2. Transformation file: If transform to JSON is enabled, provide the path to the AspireToKafka.groovy

Once you've clicked on the Add button, it will take a moment for Aspire to download all the necessary components (the Jar files) from the Maven repository and load them into Aspire. Once that's done, the publisher will appear in the Workflow Tree.

For details on using the Workflow section, please refer to the Workflow introduction.