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.
In Design Center, click Create.
Click Create new application.
Specify a Project name.
Click Go straight to canvas to exit from Let’s get started.
Click the trigger card.
If you are using your connector as a source, search for the connector. Otherwise, search for
Proceed to configure your trigger. For more information, see the Cassandra Connector Reference.
Now you’re ready to configure a component.
Click + on the right of the trigger card.
Search for the connector under the Select a component card.
Create an HTTP element for the connector by setting these fields:
HTTP or HTTPS (secure)
IP address where the Mule application listens for requests
Address where the Mule application listens for requests
Path where the Mule application listens for requests
Select + to add a component.
Select the connector as a component.
Select the operation.
Click Cassandra Connector to configure the host, port, keyspace, and authentication:
Enter a host name or IP address of a Cassandra node.
Enter a port number. The default port is
Enter the Cassandra keyspace. A keyspace groups column families.
If you enabled the
PasswordAuthenticatorin 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.
Optionally, configure a connection to a Cassandra cluster:
The Cassandra cluster name
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
Optionally, configure a connection that uses Mutual TLS by entering values for the fields on the Security tab:
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.
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:contextchild element of the
After completing these steps, see the Examples to experiment with the use cases described there.