Title: Publisher Limit Exceeded Behavior defaults to IGNORE while Java library defaults to BLOCK · Issue #1055 · googleapis/python-pubsub · GitHub
Open Graph Title: Publisher Limit Exceeded Behavior defaults to IGNORE while Java library defaults to BLOCK · Issue #1055 · googleapis/python-pubsub
X Title: Publisher Limit Exceeded Behavior defaults to IGNORE while Java library defaults to BLOCK · Issue #1055 · googleapis/python-pubsub
Description: The default publisher limit exceeded behavior is inconsistent between Python and Java libraries. Python "silently" skips messages while Java blocks. I'm migrating an application from Java to Python, and I was surprised the behavior to be...
Open Graph Description: The default publisher limit exceeded behavior is inconsistent between Python and Java libraries. Python "silently" skips messages while Java blocks. I'm migrating an application from Java to Python...
X Description: The default publisher limit exceeded behavior is inconsistent between Python and Java libraries. Python "silently" skips messages while Java blocks. I'm migrating an application from ...
Opengraph URL: https://github.com/googleapis/python-pubsub/issues/1055
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Publisher Limit Exceeded Behavior defaults to IGNORE while Java library defaults to BLOCK","articleBody":"The default publisher limit exceeded behavior is inconsistent between Python and Java libraries. Python \"silently\" skips messages while Java blocks. I'm migrating an application from Java to Python, and I was surprised the behavior to be different. How come? Both libraries use thread pools without async-io (or it's java equivalent). At the very least this inconsistency should be documented and emphasized.\r\n\r\n- Python default settings: https://github.com/googleapis/python-pubsub/blob/265f4106f499ec5d2d01a127ba192404c1836a28/google/cloud/pubsub_v1/types.py#L130\r\n- Java default settings: https://github.com/googleapis/java-pubsub/blob/1c79ad7336f51ffd4e177be5c2f2a7de902b47b8/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Publisher.java#L697","author":{"url":"https://github.com/oryband","@type":"Person","name":"oryband"},"datePublished":"2023-12-25T09:13:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/1055/python-pubsub/issues/1055"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3d0bda31-9a1f-d564-1b84-32f2ab2e341c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 91E8:73F86:AB93B6:E9C1D2:6A4D51C0 |
| html-safe-nonce | 0c7095f7d27187d976e62553fff1ff264826a31c6f15baf647bf4e18877958d4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MUU4OjczRjg2OkFCOTNCNjpFOUMxRDI6NkE0RDUxQzAiLCJ2aXNpdG9yX2lkIjoiODI1NDgwNTMzMDgzMzAwMjk0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a66d18c98065216a7607053f43665cf2fb5d14adfdf4877ba2011586d03e30e6 |
| hovercard-subject-tag | issue:2055542811 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/python-pubsub/1055/issue_layout |
| twitter:image | https://opengraph.githubassets.com/63c4c08feda8ca46036ff7904c563f9e7e9d60757f486eaad0e9d824d2104f4a/googleapis/python-pubsub/issues/1055 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/63c4c08feda8ca46036ff7904c563f9e7e9d60757f486eaad0e9d824d2104f4a/googleapis/python-pubsub/issues/1055 |
| og:image:alt | The default publisher limit exceeded behavior is inconsistent between Python and Java libraries. Python "silently" skips messages while Java blocks. I'm migrating an application from Java to Python... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | oryband |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/python-pubsub git https://github.com/googleapis/python-pubsub.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992581 |
| octolytics-dimension-repository_nwo | googleapis/python-pubsub |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992581 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-pubsub |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 56fc8347865a14e2ec811533d68f929cf4e0ec19 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width