Class CloudTasksTestClients

java.lang.Object
io.github.flink.gcp.connector.testutils.cloudtasks.CloudTasksTestClients
All Implemented Interfaces:
AutoCloseable

@Internal public final class CloudTasksTestClients extends Object implements AutoCloseable
A stock CloudTasksClient over one plaintext channel to the emulator, with no credentials, for queue administration and task inspection.

Stock and deliberately unshaded: in the SQL module's smoke test this runs beside the uber-jar's relocated copy, so that the two demonstrably coexist on one classpath — the same property testutils.bigtable.BigtableTestClients exists to show.

The instance owns the channel: close() closes the client and shuts the channel down, and a construction that fails half-way shuts it down too, so a caller's teardown only ever sees a fully-constructed instance.

  • Method Details