René's URL Explorer Experiment


Title: Publishing to pub/sub works unstable · Issue #3175 · googleapis/google-cloud-java · GitHub

Open Graph Title: Publishing to pub/sub works unstable · Issue #3175 · googleapis/google-cloud-java

X Title: Publishing to pub/sub works unstable · Issue #3175 · googleapis/google-cloud-java

Description: I am using exact example of publish message to pub/sub from https://cloud.google.com/pubsub/docs/publisher with only one small modification my loop looks like : for (i in 1..1000000) and the message has 16kb of text from Wikipedia If loo...

Open Graph Description: I am using exact example of publish message to pub/sub from https://cloud.google.com/pubsub/docs/publisher with only one small modification my loop looks like : for (i in 1..1000000) and the messag...

X Description: I am using exact example of publish message to pub/sub from https://cloud.google.com/pubsub/docs/publisher with only one small modification my loop looks like : for (i in 1..1000000) and the messag...

Opengraph URL: https://github.com/googleapis/google-cloud-java/issues/3175

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Publishing to pub/sub works unstable","articleBody":"I am using exact example of publish message to pub/sub from https://cloud.google.com/pubsub/docs/publisher\r\n\r\nwith only one small modification \r\nmy loop looks like :   ` for (i in 1..1000000)` \r\nand the message has 16kb of text from Wikipedia\r\n\r\nIf loop is 1000 I see console output of ids (workds fine)\r\nbut with 10000 I already got error:\r\n\r\n```\r\nException in thread \"main\" java.util.concurrent.ExecutionException: com.google.api.gax.rpc.DeadlineExceededException: io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED: deadline exceeded after 9999958540ns\r\n\tat com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:500)\r\n\tat com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:479)\r\n\tat com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:76)\r\n\tat com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.java:62)\r\n\tat TestRunKt.main(TestRun.kt:81)\r\nCaused by: com.google.api.gax.rpc.DeadlineExceededException: io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED: deadline exceeded after 9999958540ns\r\n\tat com.google.api.gax.rpc.ApiExceptionFactory.createException(ApiExceptionFactory.java:51)\r\n\tat com.google.api.gax.grpc.GrpcApiExceptionFactory.create(GrpcApiExceptionFactory.java:72)\r\n\tat com.google.api.gax.grpc.GrpcApiExceptionFactory.create(GrpcApiExceptionFactory.java:60)\r\n\tat com.google.api.gax.grpc.GrpcExceptionCallable$ExceptionTransformingFuture.onFailure(GrpcExceptionCallable.java:95)\r\n\tat com.google.api.core.ApiFutures$1.onFailure(ApiFutures.java:61)\r\n\tat com.google.common.util.concurrent.Futures$4.run(Futures.java:1123)\r\n\tat com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:435)\r\n\tat com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:900)\r\n\tat com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:811)\r\n\tat com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:675)\r\n\tat io.grpc.stub.ClientCalls$GrpcFuture.setException(ClientCalls.java:492)\r\n\tat io.grpc.stub.ClientCalls$UnaryStreamToFuture.onClose(ClientCalls.java:467)\r\n\tat io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:41)\r\n\tat io.grpc.internal.CensusStatsModule$StatsClientInterceptor$1$1.onClose(CensusStatsModule.java:684)\r\n\tat io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:41)\r\n\tat io.grpc.internal.CensusTracingModule$TracingClientInterceptor$1$1.onClose(CensusTracingModule.java:391)\r\n\tat io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:475)\r\n\tat io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:63)\r\n\tat io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl.close(ClientCallImpl.java:557)\r\n\tat io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl.access$600(ClientCallImpl.java:478)\r\n\tat io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:590)\r\n\tat io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)\r\n\tat io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\nCaused by: io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED: deadline exceeded after 9999958540ns\r\n\tat io.grpc.Status.asRuntimeException(Status.java:526)\r\n\t... 19 more\r\n\r\n```\r\n\r\nIf I decrease message size to 16 byte I can send successfully 10000 or 100 000 messages without any problems.\r\n\r\nCan you explain me the problem and help to find the solution. \r\n\r\nMy main goal is to send millions of messages with as said in spec not more then 10Mb size. \r\nThanks\r\n\r\n\r\n","author":{"url":"https://github.com/pkletsko","@type":"Person","name":"pkletsko"},"datePublished":"2018-04-20T07:38:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/3175/google-cloud-java/issues/3175"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:9f80f450-61d4-1179-3edf-b6f041d48872
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC458:20AB3F:135013A:1C1F7BF:6A4CE048
html-safe-nonceb386c174f306775bfcbd5f97503580b20bc6ef4d6add81f44e036484d8ad3c48
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDU4OjIwQUIzRjoxMzUwMTNBOjFDMUY3QkY6NkE0Q0UwNDgiLCJ2aXNpdG9yX2lkIjoiNjg1ODg1Mzg4MzQ2NjAxNDc5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfcf6145495f8e2ac57597ee435872b2c68c579aa712d76bd07b3bc732b96aeef
hovercard-subject-tagissue:316159722
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-java/3175/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6eb559f510d6df4f65671ee5d304c9ca9daf6ab83a8b81d76c732aa44497f419/googleapis/google-cloud-java/issues/3175
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6eb559f510d6df4f65671ee5d304c9ca9daf6ab83a8b81d76c732aa44497f419/googleapis/google-cloud-java/issues/3175
og:image:altI am using exact example of publish message to pub/sub from https://cloud.google.com/pubsub/docs/publisher with only one small modification my loop looks like : for (i in 1..1000000) and the messag...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepkletsko
hostnamegithub.com
expected-hostnamegithub.com
None299b43bca6e02ad35197ffeba30d2466846d5fb02ab96fbced5b5e6cec589fb8
turbo-cache-controlno-preview
go-importgithub.com/googleapis/google-cloud-java git https://github.com/googleapis/google-cloud-java.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id26181278
octolytics-dimension-repository_nwogoogleapis/google-cloud-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id26181278
octolytics-dimension-repository_network_root_nwogoogleapis/google-cloud-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3eeb74f55ccd8a31bdaec6839577c592bbf7844c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/googleapis/google-cloud-java/issues/3175#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-java%2Fissues%2F3175
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-java%2Fissues%2F3175
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=googleapis%2Fgoogle-cloud-java
Reloadhttps://github.com/googleapis/google-cloud-java/issues/3175
Reloadhttps://github.com/googleapis/google-cloud-java/issues/3175
Reloadhttps://github.com/googleapis/google-cloud-java/issues/3175
Please reload this pagehttps://github.com/googleapis/google-cloud-java/issues/3175
googleapis https://github.com/googleapis
google-cloud-javahttps://github.com/googleapis/google-cloud-java
Notifications https://github.com/login?return_to=%2Fgoogleapis%2Fgoogle-cloud-java
Fork 1.1k https://github.com/login?return_to=%2Fgoogleapis%2Fgoogle-cloud-java
Star 2.1k https://github.com/login?return_to=%2Fgoogleapis%2Fgoogle-cloud-java
Code https://github.com/googleapis/google-cloud-java
Issues 651 https://github.com/googleapis/google-cloud-java/issues
Pull requests 104 https://github.com/googleapis/google-cloud-java/pulls
Actions https://github.com/googleapis/google-cloud-java/actions
Security and quality 0 https://github.com/googleapis/google-cloud-java/security
Insights https://github.com/googleapis/google-cloud-java/pulse
Code https://github.com/googleapis/google-cloud-java
Issues https://github.com/googleapis/google-cloud-java/issues
Pull requests https://github.com/googleapis/google-cloud-java/pulls
Actions https://github.com/googleapis/google-cloud-java/actions
Security and quality https://github.com/googleapis/google-cloud-java/security
Insights https://github.com/googleapis/google-cloud-java/pulse
Publishing to pub/sub works unstablehttps://github.com/googleapis/google-cloud-java/issues/3175#top
https://github.com/pkletsko
https://github.com/pkletsko
pkletskohttps://github.com/pkletsko
on Apr 20, 2018https://github.com/googleapis/google-cloud-java/issues/3175#issue-316159722
https://cloud.google.com/pubsub/docs/publisherhttps://cloud.google.com/pubsub/docs/publisher
pkletskohttps://github.com/pkletsko
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.