Deploying Cloudera Streams Messaging

Deploy Cloudera Streams Messaging through the Anywhere Cloud Console. Default settings deploy a small-scale development cluster that includes Kafka, Kafka Connect, Schema Registry, Cloudera Surveyor.

You deploy Cloudera Streams Messaging from the Anywhere Cloud Marketplace using a blueprint. The blueprint packages the following engines into a single deployable unit:

  • Kafka – Provides the Apache Kafka cluster that stores and streams your data.

  • Surveyor – Provides a UI for monitoring and managing Kafka clusters, topics, connectors, and other Kafka entities.

  • Kafka Connect Container Registry Provider – Provides the container registry that Kafka Connect uses to build images that include custom connector plugins.

  • Kafka Connect – Provides a Kafka Connect cluster that streams data between Kafka and external systems using connectors.

  • Schema Registry – Provides a central repository for storing and managing the schemas of Kafka topics.

  • Cloudera Base Connector – Provides access to Cloudera Base on premises clusters.

    Configure this engine only if the Kafka Connect connectors you plan to use access services in a Kerberos-enabled Cloudera Base on premises cluster. This applies, for example, if you run an Apache Iceberg Sink connector that uses Cloudera Base on premises Hive Metastore (HMS) as an Iceberg catalog. If you leave its properties empty, the engine is still deployed with the blueprint, but it remains inactive.

  • Cloudera Unified Data Fabric – Provides Apache Ranger for authorizing access to Kafka, Kafka Connect, and Schema Registry.

  • You must install the Anywhere Cloud Console. For more information, see the Installing Anywhere Cloud documentation.
  • Your administrator must set up the required identity provider to the Anywhere Cloud Console. For more information, see the Configuring the identity provider documentation.
  • Your Administrator must register DNS credentials and a signing CA profile in Cloudera Cloud Factory.

  • You have a Cloudera Unified Data Fabric engine that is compatible with the version of Cloudera Streams Messaging that you want to deploy.

    If no eligible instance is available, you can provision a new Cloudera Unified Data Fabric instance during deployment. For instructions, see Cloudera Unified Data Fabric deployment.

  • Decide which users manage Ranger access policies for Kafka, Kafka Connect, and Schema Registry. During deployment, you enter their Cloudera Anywhere Cloud login usernames in the Ranger Policy Manager Users field of each engine.

    Cloudera recommends that you specify the same users for all three engines, because in typical deployments their policies are managed together.

  • Custom Kafka Connect connector plugins are specified during deployment and cannot be added after the Kafka Connect cluster is running. If you want to include custom connector plugins, you must have the following data:

    • The download URL for the connector plugin archive.

    • The archive URL must end with a supported format: .tgz, .tar.gz, .zip, or .jar.

    • The URL must be reachable from the cluster.

  • If the Kafka Connect connectors you plan to use access services in a Kerberos-enabled Cloudera Base on premises cluster, you must configure the Cloudera Base Connector engine and have the following data:

    • The HTTPS base URL of Cloudera Manager that must be reachable from the cluster.

    • A Cloudera Manager username and password.

    • The CA certificate bundle for the Cloudera Manager TLS certificate. The bundle must be in PEM format and encoded in Base64.

    • The cluster name, if Cloudera Manager manages more than one cluster.

    For more information about Cloudera Base Connector, see Using Cloudera Base Connector.

  1. Access the Anywhere Cloud Console.
  2. Sign in using your enterprise Identity Provider.
  3. In the left navigation pane, go to Admin Center > Marketplace.
  4. Go to Cloudera Streams Messaging and click Deploy.
  5. In the Package Content section, review the blueprint package content.
  6. In the Hardware Requirements Tiers section, review the prevalidated minimum infrastructure requirements per worker node, such as vCPU, RAM, and storage, for your selected blueprint version.
  7. Click Deploy Blueprint.
  8. In the Data Service Configuration section, specify blueprint deployment options.
    1. Select a Blueprint Version.
      The selected version determines the available features.
    2. Specify the Blueprint Instance Name to identify this deployment within your environment.
      This name must be unique among blueprint deployments in your environment.
      This name is included in each deployed engine name and in other deployment labels shown in the console after deployment. Use a short, stable value that you will recognize.
    3. Select a Performance Tier to set the minimum hardware requirements for all node groups.
    4. For Cluster Deployment, select Use Existing Cluster or Create New Cluster.
      • Use Existing Cluster: Deploys on a cluster that is already running. The Cluster Configuration section contains the cluster selection.
      • Create New Cluster: Provisions a dedicated cluster. The Cluster Configuration section contains the cluster and node group configurations. This option also adds the Telemetry Export Configuration and Audit Export Configuration sections.
  9. In the Cluster Configuration section, set up the cluster and node group configurations.
    • If you selected Use Existing Cluster, select an existing cluster from the Target Cluster drop-down list.

      Eligible clusters require active status. Ineligible clusters are shown but cannot be selected. You must select a cluster before you can configure engines.

    • If you selected Create New Cluster, configure the cluster and its node groups.

      1. Configure the Cluster Definition.
        1. Select the Compute Infrastructure.

          This is the cloud provider or physical data center hosting the nodes. Available infrastructure options depend on your deployment environment.

        2. Enter a Cluster Name for the Kubernetes cluster being provisioned.
        3. Select the DNS Credentials.

          This is a DNS account registered in Cloudera Cloud Factory to automatically publish DNS records for this cluster.

        4. Select the Certificate and Trust.

          This is a signing CA profile registered in Cloudera Cloud Factory to sign cluster and gateway TLS certificates and configure the cluster trust bundle.

      2. Configure the Control Plane Node.
        1. Select an Instance Flavor

          The selection list displays the CPU and RAM values for the selected flavor.

        2. Specify the Node Count.

          The default of one control plane node is suitable for development and non-critical deployments. For production, Cloudera recommends increasing the node count to three to ensure control plane high availability.

        3. Specify the Storage Per Node (GB) to allocate disk space for internal system databases and control plane logs.
        4. Click Add Custom Control Plane Node Group to configure additional node groups.
      3. Configure Worker Capacity.
        1. For the Required CSM Nodes worker node group, select an Instance Flavor, specify the Node Count, and specify the Storage Per Node (GB).
        2. Click Add CSM Nodes to provision an additional instance of the node group defined in the blueprint.
        3. Optional: Click Add Custom Worker Node Group to configure additional worker node groups not defined in the blueprint.
      4. Configure the Security Gateway.
        1. Select an Instance Flavor.

          The selection list displays the CPU and RAM values for the selected flavor.

        2. Specify the Disk Size to allocate disk space for administrative tools and access logs.
  10. For Surveyor, in the Required Engine Configuration section, select Reuse Existing Instance or Provision New Instance.
    • Select Reuse Existing Instance if you already have the required engine configured.
      1. Select the existing engine from the drop-down list and view its details.
    • Select Provision New Instance and click Configure to open the engine configuration side panel.
      1. On the Engine Settings tab, review the default values. Fine-tune or configure them based on your requirements.
      2. Click Save Changes.
  11. For Kafka Connect Container Registry Provider, in the Required Engine Configuration section, no configuration is required.
  12. For Kafka Connect, in the Required Engine Configuration section, select Reuse Existing Instance or Provision New Instance.
    • Select Reuse Existing Instance if you already have the required engine configured.
      1. Select the existing engine from the drop-down list and view its details.
    • Select Provision New Instance and click Configure to open the engine configuration side panel.
      1. On the Engine Settings tab, configure the following fields:
        • In the Ranger Policy Manager Users field, enter the users who will manage Kafka Connect access policies in Ranger.

          These users can create, edit, and delete Kafka Connect policies after deployment, and they have full access to Kafka Connect, regardless of policies. Enter Cloudera Anywhere Cloud login usernames of the users as a comma-separated list.

        • Optional: Select the Add Iceberg Connector checkbox to include the Apache Iceberg Sink connector in your Kafka Connect cluster.
        • Optional: Select the Add Avro Converter checkbox to include the Cloudera Avro Converter in your Kafka Connect cluster.
        • Optional: In the Connector Plugin Archives field, enter a comma-separated list of URLs to download additional plugins.

          By default, Kafka Connect includes only the connector plugins bundled with Apache Kafka. To make additional connector plugins available in your cluster, specify their download locations in this property. Connector plugins you add here will be available in Cloudera Surveyor.

          Enter a comma-separated list of URLs pointing to connector plugin archives. Each URL must end with a supported extension: .tgz, .tar.gz, .zip, or .jar. The URLs must be reachable from the cluster. To verify an archive's integrity, you can append @ followed by the archive's SHA-512 digest to the URL.

          For example:

          https://my-repository.example.com/connectors/my-connector-1.0.tar.gz@<sha512>
      2. Click Save Changes.
  13. For Schema Registry, in the Required Engine Configuration section, select Reuse Existing Instance or Provision New Instance.
    • Select Reuse Existing Instance if you already have the required engine configured.
      1. Select the existing engine from the drop-down list and view its details.
    • Select Provision New Instance and click Configure to open the engine configuration side panel.
      1. On the Engine Settings tab, configure the following field:
        • In the Ranger Policy Manager Users field, enter the users who will manage Schema Registry access policies in Ranger.

          These users can create, edit, and delete Schema Registry policies after deployment, and they have full access to Schema Registry, regardless of policies. Enter Cloudera Anywhere Cloud login usernames of the users as a comma-separated list.

      2. Click Save Changes.
  14. For Cloudera Base Connector, in the Required Engine Configuration section, select Reuse Existing Instance or Provision New Instance.

    Complete this step only if you plan to connect Kafka Connect to a Cloudera Base on premises cluster. If you configure some properties but not all, the deployment fails.

    • Select Reuse Existing Instance if you already have the required engine configured in another cluster.
      1. Select the existing engine from the drop-down list and view its details.
    • Select Provision New Instance and click Configure to open the engine configuration side panel.
      1. On the Engine Settings tab, configure the following fields:
        • CM Base URL – The HTTPS base URL of Cloudera Manager, for example, https://cm.example.com:7183. Do not include a /api path.
        • CM Username and CM Password – The credentials of a Cloudera Manager user.
        • CM CA Bundle (base64) – The Base64-encoded PEM CA certificate bundle used to verify the Cloudera Manager TLS certificate.
        • CM Cluster Name – Optional. The name of the cluster. Required only if Cloudera Manager manages more than one cluster.
      2. Click Save Changes.
  15. For Kafka, in the Reference Dependency Engines section, select Reuse Existing Instance or Provision New Instance.
    • Select Reuse Existing Instance if you already have the required engine configured.
      1. Select the existing engine from the drop-down list and view its details.
    • Select Provision New Instance and click Configure to open the engine configuration side panel.
      1. On the Engine Settings tab, configure the following field:
        • In the Ranger Policy Manager Users field, enter the users who will manage Kafka access policies in Ranger.

          These users can create, edit, and delete Kafka policies after deployment, and they have full access to Kafka, regardless of policies. Enter Cloudera Anywhere Cloud login usernames of the users as a comma-separated list.

      2. Click Save Changes.
  16. For Cloudera Unified Data Fabric, in the Reference Dependency Engines section, select Reuse Existing Instance or Provision New Instance.
    • Select Reuse Existing Instance and select the existing engine from the drop-down list to view its details.
    • Select Provision New Instance and click Configure to open the engine configuration side panel. For the detailed configuration steps, see Deploying Cloudera Unified Data Fabric.
  17. In the Network Configuration section, specify the internal communication range for the cluster by entering the internal IP Address Range in Classless Inter-Domain Routing (CIDR) notation, for example, 10.0.0.0/16.
  18. Optional: In the Telemetry Export Configuration section, enable the Anywhere Cloud Console to send telemetry data to third-party monitoring tools for all services running on the cluster.
    For more information about Anywhere Cloud telemetry, see Telemetry Exporter.
    1. Select the Third-Party Exporters checkbox.
    2. Paste your OpenTelemetry Collector exporter YAML configuration in the text box.
    3. If your configuration contains sensitive values, such as API keys or tokens, replace each one with a reference.
    4. Click Add Credential and enter the reference key in the Key field and the sensitive value in the Value field in the Exporter Credentials section. Repeat for each reference.
  19. Optional: In the Audit Export Configuration section, enable or disable the Anywhere Cloud Console to export audit data for all services running on the cluster. To deploy without audit export, click the Enabled toggle to disable it and skip the substeps.
    1. Paste your OpenTelemetry Collector exporter YAML configuration in the text box.
    2. If your configuration contains sensitive values, such as API keys or tokens, replace each one with a reference.
    3. Click Add Credential and enter the reference key in the Key field and the sensitive value in the Value field in the Exporter Credentials section. Repeat for each reference.
  20. Click Validate and Deploy.
    The system checks whether required fields are complete and required resources are available. If validation is successful, deployment begins automatically and you are redirected to the Apps page to monitor progress. The Apps page lists all engine instances and blueprints.
When the deployment process is completed, your Cloudera Streams Messaging instance is ready to use.
  • Configure Ranger policies for Kafka, Kafka Connect, and Schema Registry. Complete Setting up Ranger authorization for Cloudera Streams Messaging.

    The deployment creates default Ranger policies required for internal service-to-service communication. However, end users and external client applications have no access until you define policies for them. In addition,Cloudera Surveyor will show no data.