Kafka Connect actions

This article describes the main actions available for working with the service using the Actions icon in ADCM.

To go to the actions in the service, do the following:

  1. On the CLUSTERS tab click on the line with the cluster.

  2. In the cluster menu that opens, go to the Services page.

  3. Click on the Actions icon in the row corresponding to the Kafka Connect service and choose the desired action.

kafka connect actions 01
Available actions in Kafka Connect

Check

The Check action checks the health of the service.

After selection, confirm the action by clicking Run.

kafka actions 02
Action confirmation

In Kafka Connect, Check checks the service availability on the port and the service status.

To view the results of an action, go to JOBS and click on the name of the corresponding action or on its component.

kafka connect actions 03
View the action result

Next, the page with the results of the action becomes available for viewing, where you can analyze errors if they occur.

kafka connect actions 04
Action result

Expand

The Expand action expands the number of service instances in the established cluster. To expand the number of service instances, do the following:

  1. Set options for installing new instances of the service.

  2. Confirm your choice by clicking Next.

    kafka actions 05
    Configuration to run cluster extension
    Options for installing new service instances
    Option Description

    Disable SELinux

    Disable SELinux on added hosts. In order for this setting to take effect, after the Install operation is completed, you must restart the hosts manually

    Disable Firewalld

    Shutting down firewalld on hosts

    Install OpenJDK

    Installing java-1.8.0-openjdk package on hosts

    Set vm.swappiness to 0

    Disabling swapping on hosts

    Configure /etc/hosts

    Write added nodes to /etc/hosts on cluster hosts. It is recommended to disable this option if DNS is configured

  3. Add the required number of hosts and place on it the components available for placement.

  4. Confirm the action by clicking Run.

    kafka connect actions 07
    Installing service components for cluster expansion
NOTE
Kafka Connect must be installed on the same host as Kafka Broker.

To view the results of an action, go to JOBS and click on the name of the corresponding action or on its component.

kafka connect actions 06
View the action result

Next, the page with the results of the action becomes available for viewing, where you can analyze errors if they occur.

kafka connect actions 21
Action result

Shrink

The Shrink action reduces the number of service instances in the installed cluster. To reduce the number of service instances, do the following:

  1. Select which components to remove from which host.

  2. Confirm the action by clicking Run.

kafka connect actions 09
Removing service components to reduce the cluster

To view the results of an action, go to JOBS and click on the name of the corresponding action or on its component.

kafka connect actions 10
View the action result

Next, the page with the results of the action becomes available for viewing, where you can analyze errors if they occur.

kafka connect actions 22
Action result

Restart

The Restart action stops and then starts the service.

After selection, confirm the action by clicking Run.

kafka actions 11
Action confirmation

To view the results of an action, go to JOBS and click on the name of the corresponding action or on its component.

kafka connect actions 08
View the action result

Next, the page with the results of the action becomes available for viewing, where you can analyze errors if they occur.

kafka connect actions 20
Action result

Start

The Start action starts the service.

After selection, confirm the action by clicking Run.

kafka actions 16
Action confirmation

To view the results of an action, go to JOBS and click on the name of the corresponding action or on its component.

kafka connect actions 17
View the action result

Next, the page with the results of the action becomes available for viewing, where you can analyze errors if they occur.

kafka connect actions 23
Action result

Stop

The Stop action stops the service.

After selection, confirm the action by clicking Run.

kafka actions 15
Action confirmation

To view the results of an action, go to JOBS and click on the name of the corresponding action or on its component.

kafka connect actions 18
View the action result

Next, the page with the results of the action becomes available for viewing, where you can analyze errors if they occur.

kafka connect actions 19
Action result
Found a mistake? Seleсt text and press Ctrl+Enter to report it