EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB484588: Change Journal producer test fails and no data is found in topic in MicroStrategy 2019 and later


Danfeng Zhan

Principal Product Specialist • Strategy


This article explains why the change journal producer test fails and no data is found in the topic when using MicroStrategy 2019 and later. This article also provides a solution to avoid this behavior.

Description 


After configuring Platform Analytics on a Strategy 2019 Update 2 environment, no telemetry flows into topics.
In

KFKProducerError.log
, message service switches between the status of "available" and "unavailable," as shown below:
 

[HOST:xxx][PID:8342][THR:140532556986112]Message Service is available [HOST:xxx][PID:8342][THR:140531623569152]KafkaDeliveryCallBackError: err = -192, errstr = Local: Message timed out, Change Kafka producer status to: InternalError [HOST:xxx][PID:8342][THR:140531623569152]Message Service is unavailable 

In Kafka
server.log
, notice the below entry:
 

INFO [GroupMetadataManager brokerId=0] Removed 0 expired offsets in 0 milliseconds. (kafka.coordinator.group.GroupMetadataManager)

When perform a Platform Analytics Health Check with the Utility (as described on this page), the below entries are found in 
platform-analytics-health-check.err
.

ERROR ChangeJournalHealthCheck:83 main - Change Journal log for Object with GUID: 969F489811E90A71C9330080EFF5B2E5 in project GUID 472C2C3A11E304C446FA00802FB778FB not found in kafka topic. 
Change Journal Producer Test status: Fail
ERROR ChangeJournalHealthCheck:83 main - Please follow the steps below to verify that the Intelligence Server is correctly configured to write the telemetry to Kafka: 
 1. Connect to your Intelligence Server though Command Manager. 
 2. Run the command: 
   'LIST ALL FEATURE FLAGS;' 
 3. In the results verify that feature flag with the name 'Messaging Service for Platform Analytics' is 'ON'. 
 4. If it is 'OFF', run the below command to turn it 'ON' 
    'ALTER FEATURE FLAG "Messaging Service for Platform Analytics" ON;' 
 5. Next Run the command: 
    'LIST PROPERTIES FOR SERVER CONFIGURATION;' 
 6. In the result verify that property 'Telemetry Server enabled' is set to True.
    If it is set to False. Execute the below command to enable this property:
    'ALTER SERVER CONFIGURATION ENABLEMESSAGINGSERVICES TRUE CONFIGUREMESSAGINGSERVICES "bootstrap.servers: 10.xx.xxx.xxx:9092/batch.num.messages:5000/queue.buffering.max.ms:2000"; 
 7. If the 'Telemetry Server enabled' property is already set to True. Restart your Intelligence Server for it to be effective
ERROR StatisticsHealthCheck:83 main - One of the Platform Analytics required component is not healthy. 
Skipping Statistics Producer and Consumer Test. 
Statistics End to End Test Status: Not Run

Why is this happening?


The

Server.properties
file in the Kafka Server is not properly configured as shown below:

#advertised.listeners=PLAINTEXT://your.host.name:9092

 

Solution


Add the Kafka Server's IP instead of the machine name in this setting and uncomment it, as shown below:


advertised.listeners=PLAINTEXT://10.xx.xxx.xxx:9092

 


Comment

0 comments

Details

Knowledge Article

Published:

September 27, 2020

Last Updated:

September 27, 2020