feat: Add the ability to use automatic subscriber assignment to the subscriber settings#163
feat: Add the ability to use automatic subscriber assignment to the subscriber settings#163dpcollins-google merged 4 commits intomasterfrom
Conversation
…subscriber settings. Also disable clirr as it fires on this PR. We are not providing interface stability guarantees.
1c77ace to
c2e8142
Compare
|
Please fix the tests first. |
anguillanneuf
left a comment
There was a problem hiding this comment.
The changes in samples/ looks fine. Please also update .readme-partials.yaml and fix tests.
samples/snippets/pom.xml
Outdated
| <groupId>com.google.cloud</groupId> | ||
| <artifactId>google-cloud-pubsublite</artifactId> | ||
| <version>0.1.7</version> | ||
| <version>0.1.9-SNAPSHOT</version> |
There was a problem hiding this comment.
Please don't update this to SNAPSHOT as this will get mirrored in https://cloud.google.com/pubsub/lite/docs/reference/libraries
Generally, autosynth will take care of updating version numbers in POM files.
There was a problem hiding this comment.
Autosynth doesn't seem to be updating this number? At least it didnt in release 1.8 which is confusing.
There was a problem hiding this comment.
It may have something to do with most snippets folders usually don't require version updates / they use libraries bom. @chingor13 is that right? See history: https://github.com/googleapis/java-pubsublite/commits/master/samples/snippets/pom.xml How do we overwrite the update rule?
We never successfully released any version after 0.1.7: https://mvnrepository.com/artifact/com.google.cloud/google-cloud-pubsublite
The tests are broken due to "[08:14:28][ERROR] Timed out waiting for GitHub to return mergeable status for the pull (PR). GitHub is taking too long to compute whether this PR is mergeable. Please retry the build in a few minutes. You can do this by attaching a kokoro:force-run label on your PR." which sounds like a kokoro issue. |
afededa to
f8039c7
Compare
|
.readme-partials.yaml updated. |
f8039c7 to
0c43e23
Compare
|
Samples update should come later, after the library has a new release that picks up the changes. If you want, you can split this into two. Or I can update the samples later. |
Codecov Report
@@ Coverage Diff @@
## master #163 +/- ##
============================================
- Coverage 61.16% 60.07% -1.10%
Complexity 417 417
============================================
Files 92 93 +1
Lines 2145 2184 +39
Branches 181 182 +1
============================================
Hits 1312 1312
- Misses 736 775 +39
Partials 97 97
Continue to review full report at Codecov.
|
anguillanneuf
left a comment
There was a problem hiding this comment.
I would like @hannahrogers-google or someone else comment on if more tests need to be added before you merge.
...oud-pubsublite/src/main/java/com/google/cloud/pubsublite/cloudpubsub/SubscriberSettings.java
Show resolved
Hide resolved
I am ok with this change - I don't believe we have explicit unit tests for any of the Builders in the lite client library. |
anguillanneuf
left a comment
There was a problem hiding this comment.
Cool. I can update samples in a different PR a bit later. Thanks!
lesv
left a comment
There was a problem hiding this comment.
This doesn't appear to have a sample - so I'm just approving w/o review.
|
@dpcollins-google Does this Do Not Merge label still apply? |
Yes it does. We don't want to merge this until the backend is tested internally and we've updated (/ are updating) the docs. |
3668663 to
214af54
Compare
No description provided.