public abstract class AWSKinesisStreamListener extends Object implements ExtensionPoint
getStreamName()
onReceive(byte[])
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
AWSKinesisStreamListener() |
| Modifier and Type | Method and Description |
|---|---|
static void |
fireOnReceive(String streamName,
byte[] byteRecord) |
static ExtensionList<AWSKinesisStreamListener> |
getAllRegisteredListeners()
Gets all listeners.
|
abstract String |
getStreamName()
This needs to be overridden to specify which Kinesis record to listen
|
abstract void |
onReceive(byte[] byteRecord)
This needs to be overridden to implement the logic upon record receive
|
public abstract String getStreamName()
public abstract void onReceive(byte[] byteRecord)
byteRecord - input byte record to processpublic static void fireOnReceive(String streamName, byte[] byteRecord)
public static ExtensionList<AWSKinesisStreamListener> getAllRegisteredListeners()
Copyright © 2016–2021. All rights reserved.