Skip to content

Pubsub Question: Manual Acknowledgement outside of MessageReceiver #1981

Description

@autodidacticon

I'm attempting to ingest data from PubSub via Apache Spark. Without getting into details, I would like to acknowledge messages outside of the MessageReceiver interface. I am not seeing any public methods that acknowledge messages outside of the MessageReceiver interface.
https://cloud.google.com/pubsub/docs/pull

I see that a REST endpoint exists here:
https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions/acknowledge

But I am unable to find an accompanying method in the legacy api:
https://developers.google.com/resources/api-libraries/documentation/pubsub/v1/java/latest/

Is there any way to manually acknowledge messages in this (google-cloud) or the the legacy APIs?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

api: pubsubIssues related to the Pub/Sub API.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions