Skip to content

Compatibility

lowtide runs the same behaviour tests against itself and Google’s Pub/Sub emulator, and both must give the same results. Integrations with BigQuery, Cloud Storage and Cloud IAM are tested against emulators and stand-in services, and the main paths also ran on GKE against Google’s real APIs. The migration assessment flags topics that use a feature lowtide doesn’t support.

Supported: 23Partial: 4Not supported: 6

API surface

FeatureSupportNotes and tests
Publisher service: topics and PublishSupported

Tested by: End-to-end behaviour tests, run against lowtide and the Pub/Sub emulator.

Subscriber service: Pull and StreamingPullSupported

Flow control applies per consumer.

Tested by: End-to-end behaviour tests, run against lowtide and the Pub/Sub emulator.

Ack, ModifyAckDeadline, nack, deadline expirySupported

Tested by: End-to-end behaviour tests, run against lowtide and the Pub/Sub emulator.

Field masks, pagination, DetachSubscription, ModifyPushConfigSupported

Tested by: End-to-end behaviour tests, run against lowtide and the Pub/Sub emulator.

REST API (v1)Supported

Served on the same ports as gRPC. Timestamps end in +00:00 where Pub/Sub uses Z. Both are valid RFC 3339.

Tested by: End-to-end REST tests, and gcloud and Terraform runs.

TLS for gRPC and RESTSupported

The gateway picks up a renewed certificate while it runs.

Tested by: End-to-end TLS and certificate rotation tests.

Delivery semantics

FeatureSupportNotes and tests
At-least-once deliverySupported

Duplicates are possible after a failover, as on Pub/Sub.

Tested by: End-to-end behaviour tests, run against lowtide and the Pub/Sub emulator.

Ordering keysSupported

When pods join or leave, lowtide moves some ordering keys to another pod. Messages for a moved key published shortly before and after the move can arrive out of order.

Tested by: End-to-end behaviour tests, run against lowtide and the Pub/Sub emulator, and the Go, Java and Node clients.

Subscription filtersSupported

Supports Pub/Sub's full attribute filter language. Backlog metrics include messages the filter will skip until lowtide has read them. Pub/Sub leaves those out.

Tested by: End-to-end behaviour tests, run against lowtide and the Pub/Sub emulator.

Retry policy (exponential backoff)Supported

Tested by: End-to-end retry tests, run against lowtide only because the emulator has no backoff.

Dead-letter topics and delivery_attemptSupported

lowtide keeps delivery-attempt counts in memory, so the counts start again after a failover.

Tested by: End-to-end behaviour tests, run against lowtide and the Pub/Sub emulator.

Message retention and expiration policySupported

Tested by: End-to-end behaviour tests, run against lowtide and the Pub/Sub emulator.

Seek to a time or snapshot, retain_acked_messages, topic retentionSupported

Tested by: End-to-end behaviour tests, run against lowtide and the Pub/Sub emulator.

Exactly-once deliveryNot supported

The migration assessment flags topics that use it.

Push, BigQuery and Cloud Storage subscriptions

FeatureSupportNotes and tests
Push subscriptionsSupported

Supports wrapped and unwrapped messages, OIDC tokens, Pub/Sub's backoff and adaptive concurrency.

Tested by: End-to-end behaviour tests, run against lowtide and the Pub/Sub emulator.

BigQuery subscriptionsSupported

Supports write_metadata, use_table_schema and drop_unknown_fields, and writes with load jobs or insertAll. Load jobs also ran once against real BigQuery on GKE. insertAll and use_table_schema have been tested against the emulator so far. A batch can be written twice when its shard moves to another pod.

Tested by: End-to-end tests against the BigQuery emulator, and the real-GCP test kit, which runs tests on GKE against Google's real APIs.

Cloud Storage subscriptionsSupported

Writes text or Avro files with Pub/Sub's file naming. A batch can be written twice when its shard moves to another pod.

Tested by: End-to-end tests against fake-gcs-server, a Cloud Storage stand-in, and the real-GCP test kit.

use_topic_schema on BigQuery subscriptionsNot supported
Bigtable subscriptionsNot supported

Schemas and transforms

FeatureSupportNotes and tests
Topic schemas (Schema service)Not supported

The REST API serves no schema resources.

Single-message transformsNot supported

Authentication and IAM

FeatureSupportNotes and tests
Cloud IAM authorization with your existing bindings (the gcp-iam setting)Supported

lowtide checks each call with the caller's own token against a topic, subscription or snapshot of the same name in Pub/Sub. Your bindings, groups and IAM conditions apply. For a migrated topic, that resource is the original topic. For a new resource, lowtide creates an empty one in Pub/Sub, called a shadow, to hold its IAM policy. lowtide caches each decision, so a revoked grant can keep working for up to 5 minutes.

Tested by: End-to-end IAM tests against a stand-in IAM service, and the real-GCP test kit against Cloud IAM.

getIamPolicy, setIamPolicy, testIamPermissionsSupported

Forwarded with the caller's credentials to the matching topic or subscription in Pub/Sub.

Tested by: gcloud add-iam-policy-binding and Terraform IAM resources, run through a gateway with Cloud IAM authorization against a stand-in IAM service.

Static tokens or Google identities, with access rules in a lowtide policy file (RBAC)Supported

Tested by: End-to-end authentication and access-rule tests.

Encrypted pod-to-pod trafficPartial

Pods authenticate each other with a shared token, and their traffic is unencrypted. Use a service mesh if you need encryption.

Clients and tools

FeatureSupportNotes and tests
Official client libraries: Python, Go, Java, NodeSupported

Used as published. Set the API endpoint, and the CA certificate if the cluster uses a private certificate authority.

Tested by: Client compatibility tests.

gcloud pubsubSupported

Set api_endpoint_overrides/pubsub. IAM commands work too.

Tested by: gcloud and Terraform runs.

Terraform google providerSupported

Set pubsub_custom_endpoint. After apply, terraform plan shows the configuration matches. BigQuery and Cloud Storage subscription settings are still untested from Terraform.

Tested by: gcloud and Terraform runs.

PUBSUB_EMULATOR_HOSTPartial

Needs no code change. In this mode the client libraries send no credentials, so use it only with lowtide authentication turned off. A dedicated test is still to come.

Platform

FeatureSupportNotes and tests
Two zones in one region, write-ahead log on regional persistent diskPartial

We simulated zone loss locally by attaching a dead pod's write-ahead log disk to a pod in another zone. On GKE, we deleted the publisher's pod during traffic and every confirmed message arrived. A forced zone failover on GKE is still to run.

Tested by: End-to-end failure tests for pod kill, zone loss and subscription failover, and the real-GCP test kit for pod deletion.

Workload Identity for Google APIsSupported

On GKE, the gateway reaches Cloud Storage, BigQuery, Cloud IAM and the token service for push through Workload Identity. The install needs no service account keys.

Tested by: Real-GCP test kit.

Multiple regionsNot supported

Each cluster runs in a single region. lowtide can't recover from the loss of a whole region.

Validated on GKE at production scalePartial

A small cluster installed by the Terraform module passed the real-GCP test kit and a benchmark on GKE. Next are load tests at twice peak traffic, a 72-hour run under load and a forced zone failover.

Feature Instead
Topic schemas, use_topic_schema Validate messages in the publisher. Topics with a schema stay on Pub/Sub.
Exactly-once delivery Make consumers idempotent; lowtide delivers at least once. Subscriptions that use it stay on Pub/Sub.
Single-message transforms Transform in the publisher or consumer.
Bigtable subscriptions Keep the topic on Pub/Sub, or write to Bigtable from a consumer.
Several regions Run one cluster per region.
Topics Google services publish to (Cloud Storage notifications, log sinks, Cloud Scheduler, Eventarc and others) These stay on Pub/Sub, because the services can’t publish to another endpoint.