When developing the MQTT processors I used Mosquitto to test. I found it to be a very easy to use and simple to configure broker that handled a decently high throughput even on my laptop.
That said, the NiFi MQTT processors should be able to communicate with any broker that handles the vanilla MQTT Api.