KafkaBroker
@rotorsoft/act-root / act-notify / KafkaBroker
Class: KafkaBroker
Defined in: libs/act-notify/src/kafka.ts:28
Refuses loudly until fan-out semantics are implemented.
Implementsโ
Constructorsโ
Constructorโ
new KafkaBroker(
options?):KafkaBroker
Defined in: libs/act-notify/src/kafka.ts:31
Parametersโ
options?โ
KafkaBrokerOptions = {}
Returnsโ
KafkaBroker
Propertiesโ
topicโ
readonlytopic:string
Defined in: libs/act-notify/src/kafka.ts:29
Methodsโ
publish()โ
publish(
_message):void
Defined in: libs/act-notify/src/kafka.ts:35
Parametersโ
_messageโ
Returnsโ
void
Implementation ofโ
Broker.publish
subscribe()โ
subscribe(
_handler):BrokerDisposer
Defined in: libs/act-notify/src/kafka.ts:39
Parametersโ
_handlerโ
(message) => void
Returnsโ
Implementation ofโ
Broker.subscribe