Controller returns the cluster controller broker. It will return a locally cached value if it's available. You can call RefreshController to update the cached value. Requires Kafka 0.10 or higher.
()
| 30 | // locally cached value if it's available. You can call RefreshController |
| 31 | // to update the cached value. Requires Kafka 0.10 or higher. |
| 32 | Controller() (*Broker, error) |
| 33 | |
| 34 | // RefreshController retrieves the cluster controller from fresh metadata |
| 35 | // and stores it in the local cache. Requires Kafka 0.10 or higher. |
no outgoing calls