GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — `SubscriptionAdminClient` : Make creating a pull subscription more explicit than `PushConfig.getDefaultInstance()` · Issue #1874 · googleapis/google-cloud-java

SubscriptionAdminClient : Make creating a pull subscription more explicit than PushConfig.getDefaultInstance() #1874

New issue
Copy link
New issue
Copy link
Closed
Closed
SubscriptionAdminClient : Make creating a pull subscription more explicit than PushConfig.getDefaultInstance()#1874
Copy link
Assignees
yihanzhen
Labels
api: pubsubIssues related to the Pub/Sub API.priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Description

@jabubake
jabubake
opened on Apr 6, 2017
Issue body actions

Currently if a user intends to create a pull configuration, he or she has to call SubscriptionAdminClient.createSubscription with an instance of PushConfig (PushConfig.getDefaultInstance() or construct a PushConfig object). Its confusing that the default instance leads to it being a pull subscription.

The semantics of the ackDeadlineInSeconds are slightly different too for the pull vs push configuration and it is not clear whether the bounds are different between pull vs push in the java docs.
In the java docs, we state that ackDeadlineInSeconds has to be atleast 10 seconds for the pull and that if a user provides 0 as input, we use the default. Given the same parameter is used to configure the push endpoint deadline, its not clear if users can provide >0, < 10 values.

Can we provide users a way to create a pull subscription without providing a boilerplate PushConfig object ? This might also make it easier to document the ackDeadlineInSecondsbetter.

Activity

  1. jabubake
    added
    api: pubsubIssues related to the Pub/Sub API.
    docs
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    on Apr 6, 2017
  2. garrettjonesgoogle
    added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on May 30, 2017
  3. yihanzhen commented on Jan 11, 2018

    @yihanzhen
    yihanzhen
    on Jan 11, 2018
    Contributor
    More actions

    This has been added to our feature backlog: https://github.com/GoogleCloudPlatform/google-cloud-java/wiki/Feature-backlog . This issue will be closed but is linked in the backlog and can continue to be used for comment and discussion.

  4. yihanzhen
    closed this as completedon Jan 11, 2018
  5. JustinBeckwith
    assigned
    yihanzhen
    on Feb 1, 2021
  6. meltsufin
    added a commit that references this issue on Dec 22, 2025

    chore: Update generation configuration at Sun Oct 19 02:32:19 UTC 2025 (

    385a1dc
  7. chingor13
    added a commit that references this issue on Jan 22, 2026

    chore: Update generation configuration at Wed Jun 11 02:31:02 UTC 2025 (

    3bc1a95
  8. suztomo
    added a commit that references this issue on Mar 11, 2026

    chore: Update generation configuration at Sun Oct 19 02:32:19 UTC 2025 (

    70b9deb
  9. lqiu96
    added a commit that references this issue on Mar 20, 2026

    chore: Update generation configuration at Wed Jun 11 02:31:02 UTC 2025 (

    0409844
  10. suztomo
    added 2 commits that reference this issue on Mar 23, 2026

    deps: update dependency org.springframework.boot:spring-boot-starter-…

    ca82c42

    chore(main): release 2.25.3 (googleapis#1877)

    8ef7ea5
  11. chingor13
    added a commit that references this issue on Mar 24, 2026

    build(deps-dev): bump ch.qos.logback:logback-core in /oauth2_http (#1874

    5681627
  12. meltsufin
    added 6 commits that reference this issue on Apr 29, 2026

    deps: update dependency com.google.cloud:google-cloud-storage to v2.3…

    adae8a4

    chore(main): release 1.126.1 (#1871)

    daaf9e3

    chore(main): release 1.133.0 (#2206)

    a3b6539

    deps: update dependency com.google.cloud:google-cloud-storage to v2.3…

    3a99a5b

    chore(main): release 1.126.1 (#1871)

    a83d9dc

    chore(main): release 1.133.0 (#2206)

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

Metadata

Metadata

Assignees

  • @yihanzhen
    yihanzhen

Labels

api: pubsubIssues related to the Pub/Sub API.priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.