Package org.apache.pinot.spi.stream
Interface StreamLevelConsumer
-
-
Method Summary
Modifier and Type Method Description voidcommit()Commit the offsets consumed so far The next call to consume should exclude all events consumed before the commit was called, and start from newer events not yet consumedGenericRownext(GenericRow destination)Get next row from the stream and decode it into a generic rowvoidshutdown()Shutdown the stream consumervoidstart()Initialize and start the stream level consumer
-
-
-
Method Detail
-
start
void start() throws ExceptionInitialize and start the stream level consumer- Throws:
Exception
-
next
GenericRow next(GenericRow destination)
Get next row from the stream and decode it into a generic row- Parameters:
destination-- Returns:
-
commit
void commit()
Commit the offsets consumed so far The next call to consume should exclude all events consumed before the commit was called, and start from newer events not yet consumed
-
-