README
ibm-iis-kafka
Re-usable functions for interacting with IBM InfoSphere Information Server's Kafka event mechanism
Examples
const iiskafka = ;const infosphereEventEmitter = 'zookeeper-host:2181' 'asset-object-handler' false;infosphereEventEmitter;
Meta
- license: Apache-2.0
InfosphereEventEmitter
Connects to Kafka on the specified system and emits any events raised, based on the specified parameter
Parameters
zookeeperConnection
string the hostname of the domain (services) tier of the Information Server environment and port number to connect to Zookeeper service (e.g. hostname:52181)handlerId
string a unique identity for the handler (allowing multiple handlers to consume the same events)bFromBeginning
boolean? if true, process all events from the beginning of tracking in Information Servertopic
string? name of the topic for which to emit events (optional, default'InfosphereEvents'
)
eventCommitCallback
This callback is invoked as in order to commit that an event was successfully consumed from Kafka
Type: Function
Parameters
eventCtx
Object the context of the Kafka event that was consumed