To disable CPS-temporal notifications we need to have following properties configured as below :
Property | Description | Path from CPS root |
---|---|---|
NOTIFICATION_DATASPACE_FILTER_PATTERNS: NON-EXISTING-DATASPACE |
| docker-compose/docker-compose.yml |
notification.enabled: 'true' |
| docker-compose/docker-compose.yml |
docker-compose.yml view :
To verify if CPS-temporal notifications are disable :
Add consumer docker-compose service for topic "cps.data-updated-events" as below :
Open kafka-consumer "Logs" section as below :
If CPS-temporal notifications are disabled will see warning message as "WARN [Consumer clientId=consumer-1, groupId=console-consumer-32597] Error while fetching metadata with correlation id 9 : {cps.data-updated-events=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)" else
CM handle notifications :