public class PubsubFileInjector
extends java.lang.Object
This is useful for testing streaming pipelines. Note that since batch pipelines might retry chunks, this does _not_ guarantee exactly-once injection of file data. Some lines may be published multiple times.
| Constructor and Description |
|---|
PubsubFileInjector() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args)
Sets up and starts streaming pipeline.
|