Title: Make threadpool size configurable in publisher/consumer builder · Issue #1920 · googleapis/java-pubsub · GitHub
Open Graph Title: Make threadpool size configurable in publisher/consumer builder · Issue #1920 · googleapis/java-pubsub
X Title: Make threadpool size configurable in publisher/consumer builder · Issue #1920 · googleapis/java-pubsub
Description: Currently it is very low level to override the default behaviour on how many threads are assigned to the publisher/consumer. We are seeing too many GAX threads created for our usecase causing an overhead in memory consumption on k8s for ...
Open Graph Description: Currently it is very low level to override the default behaviour on how many threads are assigned to the publisher/consumer. We are seeing too many GAX threads created for our usecase causing an ov...
X Description: Currently it is very low level to override the default behaviour on how many threads are assigned to the publisher/consumer. We are seeing too many GAX threads created for our usecase causing an ov...
Opengraph URL: https://github.com/googleapis/java-pubsub/issues/1920
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Make threadpool size configurable in publisher/consumer builder","articleBody":"Currently it is very low level to override the default behaviour on how many threads are assigned to the publisher/consumer.\r\n\r\nWe are seeing too many GAX threads created for our usecase causing an overhead in memory consumption on k8s for low traffic situations.\r\nThere is some talk about it [her](https://github.com/googleapis/java-pubsub/issues/27)\r\n\r\nThe [documentation](https://cloud.google.com/pubsub/docs/concurrency-control-messages) for override the pool size might be a bit to low leven for many situations.\r\nIt would be good if the pool would be configurable from outside especially since many users of pubsub are using a framework like spring-boot pubsub, or in our case apache camel google pubsub.\r\n\r\n","author":{"url":"https://github.com/pax95","@type":"Person","name":"pax95"},"datePublished":"2024-01-30T08:16:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/1920/java-pubsub/issues/1920"}
| 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:cd730c98-c5fe-f9c5-4850-038155837bea |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AD1E:AB54B:58FCC:71556:6990CC46 |
| html-safe-nonce | 0632ad64090d198e87bef58554f31323db4290ea674ebce95dff818557cfa5f9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDFFOkFCNTRCOjU4RkNDOjcxNTU2OjY5OTBDQzQ2IiwidmlzaXRvcl9pZCI6Ijg5NjkwMTgzMTE1MTA2NDE3MzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 77f03b213df9ed08850878c98078cff97cc88b914d03ef2bd93245f7ec531b23 |
| hovercard-subject-tag | issue:2138963340 |
| 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/java-pubsub/1920/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1686372cefb10cde0fd4ae243346253a10726c87ed9053f884158e550b54292f/googleapis/java-pubsub/issues/1920 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1686372cefb10cde0fd4ae243346253a10726c87ed9053f884158e550b54292f/googleapis/java-pubsub/issues/1920 |
| og:image:alt | Currently it is very low level to override the default behaviour on how many threads are assigned to the publisher/consumer. We are seeing too many GAX threads created for our usecase causing an ov... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pax95 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/java-pubsub git https://github.com/googleapis/java-pubsub.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 203461480 |
| octolytics-dimension-repository_nwo | googleapis/java-pubsub |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 203461480 |
| octolytics-dimension-repository_network_root_nwo | googleapis/java-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 | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width