
On failure to publish, clear the topic metadata then retry, in case the IP Addresses have changed. This can occur when Monasca is run in Kubernetes and the Kafka pod is restarted. Restarting the Kafka pod can happen often enough the API should be able handle it without losing a message. Change-Id: If48971c40883b5be10adec947562cdda7e82d77c Story: 2001386 Task: 5963