Contact Free trial Login

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

    Protocol

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

    Host

    The IP address where the Mule application listens for requests.

    Port

    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

    Host

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

    Port

    Enter a port number. The default port is 9042.

    Keyspace

    Enter the Cassandra keyspace. A keyspace groups column families.

    Username

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

    Password

    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.

Compression

The compression to use for the transport.

SSL

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.

See Also

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.