Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

flagReplayComplete for wildcard subscribers, fix bad broker publish hang #433

Merged

Conversation

NeejWeej
Copy link
Collaborator

@NeejWeej NeejWeej commented Jan 30, 2025

This PR accomplishes the following:

  • Fix publisher hanging on invalid broker (it just kept trying to flush and timing out in its poll thread)
  • Fix wildcard (no key set) subscriptions, which were previously not calling flagReplayComplete UNTIL a message came in, so if no message came, it would hang

…amp from Kafka message

Signed-off-by: Nijat Khanbabayev <nijat.khanbabayev@cubistsystematic.com>
@NeejWeej NeejWeej marked this pull request as ready for review January 30, 2025 07:35
@NeejWeej
Copy link
Collaborator Author

Addresses #414

@NeejWeej NeejWeej force-pushed the nk/fix_wildcard_subscriber_add_subscribe_from_msg_kafka branch from 799dee9 to 4510fc6 Compare January 30, 2025 10:19
Signed-off-by: Nijat Khanbabayev <nijat.khanbabayev@cubistsystematic.com>
@NeejWeej NeejWeej force-pushed the nk/fix_wildcard_subscriber_add_subscribe_from_msg_kafka branch from 4510fc6 to 61c792d Compare January 30, 2025 14:28
Signed-off-by: Nijat Khanbabayev <nijat.khanbabayev@cubistsystematic.com>
@NeejWeej NeejWeej force-pushed the nk/fix_wildcard_subscriber_add_subscribe_from_msg_kafka branch from 0a1ca4d to 787740a Compare January 31, 2025 01:20
Signed-off-by: Nijat Khanbabayev <nijat.khanbabayev@cubistsystematic.com>
@NeejWeej NeejWeej force-pushed the nk/fix_wildcard_subscriber_add_subscribe_from_msg_kafka branch from 787740a to 79d9c3c Compare January 31, 2025 01:35
@NeejWeej NeejWeej changed the title flagReplayComplete for wildcard subscribers, allow pulling csp times… flagReplayComplete for wildcard subscribers, fix bad broker publish hang Feb 7, 2025
Signed-off-by: Nijat Khanbabayev <nijat.khanbabayev@cubistsystematic.com>
@NeejWeej NeejWeej force-pushed the nk/fix_wildcard_subscriber_add_subscribe_from_msg_kafka branch from 934ba4f to 0c67a53 Compare February 7, 2025 01:33
Signed-off-by: Nijat Khanbabayev <nijat.khanbabayev@cubistsystematic.com>
@NeejWeej NeejWeej force-pushed the nk/fix_wildcard_subscriber_add_subscribe_from_msg_kafka branch from 078ab11 to 90ecdcf Compare February 7, 2025 18:04
@robambalu robambalu self-requested a review February 7, 2025 18:06
@NeejWeej NeejWeej merged commit 6cca482 into main Feb 7, 2025
29 checks passed
@NeejWeej NeejWeej deleted the nk/fix_wildcard_subscriber_add_subscribe_from_msg_kafka branch February 7, 2025 20:30
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants