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
server.log, notice the below entry:
INFO [GroupMetadataManager brokerId=0] Removed 0 expired offsets in 0 milliseconds. (kafka.coordinator.group.GroupMetadataManager)
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
The
Server.propertiesfile in the Kafka Server is not properly configured as shown below:
#advertised.listeners=PLAINTEXT://your.host.name:9092
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