Use Flow Designer to Configure Cassandra Connector 4.0- 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 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 a source, 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


    HTTP or HTTPS (secure)


    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 + to add a component.

  5. Select the connector as a component.

  6. Select the operation.

  7. Click 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.


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


    Enter the password, If you enabled PasswordAuthenticator, enter the password. 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

  9. Optionally, configure a connection that uses Mutual TLS by entering values for the fields on the Security tab:

    Field Description

    Endpoint Identification Algorithm

    The endpoint identification algorithm used by clients to validate server host name.The default value is an empty string, which means that the algorithm is disabled. Clients, including client connections created by the broker for inter-broker communication, verify that the broker host name matches the host name in the broker’s certificate.

    TLS Configuration

    Defines a configuration for TLS, which can be used from both the client and server sides to secure communication for the Mule app. When using the HTTPS protocol, the HTTP communication is secured using TLS or SSL. If HTTPS is configured as the protocol then, at a minimum, you must configure the keystore in the tls:context child element of the listener-config.

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