Class TestPubsub

java.lang.Object
org.apache.beam.sdk.io.gcp.pubsub.TestPubsub
All Implemented Interfaces:
TestRule

public class TestPubsub extends Object implements TestRule
Test rule which creates a new topic and subscription with randomized names and exposes the APIs to work with them.

Deletes topic and subscription on shutdown.