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

# localConsumer

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

Like `io.vertx.rxjava.core.eventbus.EventBus#consumer` but the address won't be propagated across the cluster.

### Parameters

`address` - the address to register it at

Return
the event bus message consumer

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

Like `io.vertx.rxjava.core.eventbus.EventBus#consumer` 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