Consuming unbounded data in windows with default trigger
I have a Pub/Sub topic + subscription and want to consume and aggregate the unbounded data from the subscription in a Dataflow . I use a fixed window and write the aggregates to BigQuery. Reading and writing (without windowing and aggregation) works fine. But when I pipe the data into a fixed window (to count the elements in each window) the window is never triggered . And thus the aggregates are not written. Here is my word publisher (it uses kinglear.txt from the examples as input file): public static class AddCurrentTimestampFn extends DoFn<String, String> { @ProcessElement public void