Users are unable to start the Platform Analytics Consumer in Strategy 2021 when the Platform Analytics health check fails with the error:
Group coordinator lookup failed: The coordinator is note available.
The health check logs display the following information:
06/24/2019 11:22:23.983 INFO Producing health check data to 3 partitions of Kafka topic - 'mstr-pa-health-check' ...06/24/2019 11:22:24.014 INFO Configuring consumer for reading data from topic - 'mstr-pa-health-check' ...06/24/2019 11:23:24.030 ERROR Timeout of 60000ms expired before successfully committing offsets {mstr-pa-health-check-2=OffsetAndMetadata{offset=18, metadata=''}}06/24/2019 11:23:24.036 INFO Kafka cluster health check result is unhealthy.************************************************************************************************************* Health Check Summary ********************************* Platform Analytics MySQL Warehouse PASSPlatform Analytics Redis Server PASSPlatform Analytics Kafka Cluster FAIL2019-07-01 07:25:18,704 DEBUG AbstractCoordinator:651 main - [Consumer clientId=consumer-4, groupId=health-check] Sending FindCoordinator request to broker akl0ap8h2.corp.ad.airnz.co.nz:9092 (id: 1 rack: null)2019-07-01 07:25:18,705 DEBUG NetworkClient:472 main - [Consumer clientId=consumer-4, groupId=health-check] Using older server API v1 to send FIND_COORDINATOR {coordinator_key=health-check,coordinator_type=0} with correlation id 963 to node 12019-07-01 07:25:18,705 DEBUG AbstractCoordinator:662 main - [Consumer clientId=consumer-4, groupId=health-check] Received FindCoordinator response ClientResponse(receivedTimeMs=1561922718705, latencyMs=0, disconnected=false, requestHeader=RequestHeader(apiKey=FIND_COORDINATOR, apiVersion=1, clientId=consumer-4, correlationId=963), responseBody=FindCoordinatorResponse(throttleTimeMs=0, errorMessage='null', error=COORDINATOR_NOT_AVAILABLE, node=:-1 (id: -1 rack: null)))2019-07-01 07:25:18,705 DEBUG AbstractCoordinator:685 main - [Consumer clientId=consumer-4, groupId=health-check] Group coordinator lookup failed: The coordinator is not available.2019-07-01 07:25:18,705 DEBUG AbstractCoordinator:242 main - [Consumer clientId=consumer-4, groupId=health-check] Coordinator discovery failed, refreshing metadata2019-07-01 07:25:18,805 DEBUG NetworkClient:1018 main - [Consumer clientId=consumer-4, groupId=health-check] Sending metadata request (type=MetadataRequest, topics=mstr-pa-health-check) to node akl0ap8h4.corp.ad.airnz.co.nz:9092 (id: 3 rack: null)
The Kafka server broker ID is different from the output.
For example, say the broker ID for a clustered environment is
1,
2, and
3, which can be confirmed by checking the Kafka configuration file, server.properties.
./bin/window/kafka-topics.bat --describe --zookeeper localhost:2181, the output displays the Leader's ID as
0, which means it can't match to the broker of the environment.


This situation can happen when there is an existing Kafka and Zookeeper service in the C:\Program Files (x86)\MicroStrategy\Messaging Services\tmp folder. These services may exist if a user created a one node environment at first to test the service using the Strategy installer. When you use the installer, the default broker ID is set to
0, so all the
_consumer_offsetsLeader IDs are
0.
1,
2, and
3(since the broker ID
0is already in use).
To fix the output, perform the following steps:
For more information on Platform Analytics workarounds, Troubleshooting: How to Check Platform Analytics Services or see the Platform Analytics guide.