Skip to content

feat(pubsub): add support for streaming pull keepalives from the server#7819

Draft
feywind wants to merge 3 commits intomainfrom
pubsub-stream-keepalives
Draft

feat(pubsub): add support for streaming pull keepalives from the server#7819
feywind wants to merge 3 commits intomainfrom
pubsub-stream-keepalives

Conversation

@feywind
Copy link
Contributor

@feywind feywind commented Mar 18, 2026

Adds the keepalive support.

Fixes #7818 🦕

@product-auto-label product-auto-label bot added the api: pubsub Issues related to the Pub/Sub API. label Mar 18, 2026
this.emit('data', data);
}

private _resetPingTimer(index: number): void {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't thought about the exact practical differences between what's written here and what's in the Java client, but I think we should probably just mimic the behavior of the latter.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is updated now. Take a look?

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

Labels

api: pubsub Issues related to the Pub/Sub API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[pubsub] Add support for streaming pull keepalives from the server

2 participants