Running Rasa with events streamed to a Kafka topic

Hi – I was trying the formbot example and was wanting to log to Kafka, but wityh no security setup for kafka. I have an endpoint.yml file with this

event_broker: url: localhost topic: rasaEvents type: kafka

but when I run rasa shell -vv -m models --endpoints endpoints.yml, I get the prompt for input, but then Rasa just hangs, and no event is published to the Kafka topic.

Is it the endpoints.yml file above that is the issue?