public interface BatchConsumer
Modifier and Type | Method and Description |
---|---|
void |
addToBatch(String topic,
JsonValue event,
StringBuilder payload)
Adds an audit event to a batch payload.
|
Promise<Void,BatchException> |
publishBatch(String payload)
Publishes the batch payload.
|
void addToBatch(String topic, JsonValue event, StringBuilder payload) throws BatchException
topic
- event topicevent
- event JSON payloadpayload
- batch payloadBatchException
- indicates failure to add-to-batchPromise<Void,BatchException> publishBatch(String payload)
payload
- batch payloadCopyright 2010-2022 ForgeRock AS.