vertx / io.vertx.core.eventbus / EventBus / localConsumer

# localConsumer

`abstract fun <T : Any> localConsumer(address: String): MessageConsumer<T>`

Like `#consumer(String)` but the address won't be propagated across the cluster.

### Parameters

`address` - the address to register it at

Return
the event bus message consumer

`abstract fun <T : Any> localConsumer(address: String, handler: Handler<Message<T>>): MessageConsumer<T>`

Like `#consumer(String, Handler)` but the address won't be propagated across the cluster.

### Parameters

`address` - the address that will register it at

`handler` - the handler that will process the received messages

Return
the event bus message consumer