I'm trying to test my DataFlow job locally, but keep getting timeout errors on reading from PubSub topic.
PCollection<KV<Integer, Tick>> input = pipeline.apply(PubsubIO.Read.topic(options.getPubSubTopic()).maxNumRecords(10))
I'm sure that topic name is correct since the DataFlow is correctly creating subscription under desired topic each time I run the job and I can see it in the browser.
Any hints what might be the issue here?