Cassandra - Design Center Configuration - Mule 4

Design Center enables you to create apps visually. To use Design Center, work with your Anypoint Platform administrator to ensure you have a Design environment.

To create an app in Design Center:

  • Configure the input source (trigger) for your app.

  • Add the connector as a component to process the input for the app.

Configure the Trigger

  1. In Design Center, click Create.

  2. Click Create new application.

  3. Specify a Project name.

  4. Click Go straight to canvas to exit from Let’s get started.

  5. Click the trigger card.

  6. If you are using your connector as an input source trigger, search for the connector. Otherwise, search for HTTP or Scheduler.

  7. Proceed to configure your trigger. For more information, see the Cassandra Connector Reference.

Now you’re ready to configure a component.

Configure the Target Component

  1. Click + on the right of the trigger card.

  2. Search for the connector under the Select a component card.

  3. Create an HTTP element for the connector by setting these fields:

    Field Description


    Selected for the HTTP endpoint, it can be HTTP or HTTPS (secure).


    The IP address where the Mule application listens for requests.


    Address where the Mule application listens for requests.

    Base Path

    Path where the Mule application listens for requests.

  4. Select the plus sign to add a component.

  5. Select the connector as a component.

  6. Select the operation.

  7. Click the Cassandra connector to configure the host, port, keyspace, and authentication.

    Field Description


    Enter a host name or IP address of a Cassandra node.


    Enter a port number. The default port is 9042.


    Enter the Cassandra keyspace. A keyspace groups column families.


    Enter a Cassandra user name, if you enabled the PasswordAuthenticator in the Cassandra YAML file. If AllowAllAuthenticator is enabled, leave this value blank.


    Enter the password, if you enabled PasswordAuthenticator. Otherwise, leave this value blank.

  8. Optionally, configure a connection to a Cassandra cluster.

Field Description

Cluster name

The Cassandra cluster name.

Protocol version

The version of the native protocol supported by the driver.

Max schema agreement wait seconds

The maximum time to wait for a schema agreement before returning from a DDL query.


The compression to use for the transport.


Enable or disable the use of SSL for the cluster.

After completing these steps, see the Cassandra Example to experiment with the use cases described there.