public static class SamzaTestStreamSystemFactory.SamzaTestStreamSystemConsumer<T>
extends java.lang.Object
implements org.apache.samza.system.SystemConsumer
| Constructor and Description |
|---|
SamzaTestStreamSystemConsumer(org.apache.beam.sdk.testing.TestStream<T> testStream) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<org.apache.samza.system.SystemStreamPartition,java.util.List<org.apache.samza.system.IncomingMessageEnvelope>> |
poll(java.util.Set<org.apache.samza.system.SystemStreamPartition> systemStreamPartitions,
long timeout) |
void |
register(org.apache.samza.system.SystemStreamPartition systemStreamPartition,
java.lang.String offset) |
void |
start() |
void |
stop() |
public SamzaTestStreamSystemConsumer(org.apache.beam.sdk.testing.TestStream<T> testStream)
public void start()
start in interface org.apache.samza.system.SystemConsumerpublic void stop()
stop in interface org.apache.samza.system.SystemConsumerpublic void register(org.apache.samza.system.SystemStreamPartition systemStreamPartition,
java.lang.String offset)
register in interface org.apache.samza.system.SystemConsumerpublic java.util.Map<org.apache.samza.system.SystemStreamPartition,java.util.List<org.apache.samza.system.IncomingMessageEnvelope>> poll(java.util.Set<org.apache.samza.system.SystemStreamPartition> systemStreamPartitions,
long timeout)
poll in interface org.apache.samza.system.SystemConsumer