Skip to content

[pull] main from googleapis:main #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 36 commits into
base: main
Choose a base branch
from

Conversation

pull[bot]
Copy link

@pull pull bot commented Oct 15, 2024

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

johnjcasey and others added 10 commits June 18, 2024 09:29
* Add Migration tooling

* Update push-image.sh

* Rename PSL_job.json to pubsub_lite_job.json

* Update Dockerfile

* Rename start-psl-connector.sh to start-pubsub-lite-connector.sh
#266)

* fix: report connector package version instead of kafka connect version

* fix: lint
… (#1936) (#312)

Created by running:
pip-compile requirements.in --generate-hashes --upgrade within synthtool/gcp/templates/java_library/.kokoro and synthtool/docker/owlbot/java/src/
Source-Link: googleapis/synthtool@853dbcd
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:084ad4c60551b075846bcb2405ec1c14b0d00ec1eb5503d4dd0d2a92cdc2d3e2

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
#353)

* deps: Upgrade the kafka version to 3.8.0 to match the pubsublite-kafka lib, Upgrade google-cloud-shared-dependencies to 3.20.0 past guava and threeten CVEs

TODO(bcol-google): Update the pubsublite-kafka to the new version once a release is cut from googleapis/java-pubsublite-kafka#482

* deps: Upgrade pubsublike-kafka to 1.2.1, Upgrade pubsublite client libs to match.
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Copy link

sourcery-ai bot commented Oct 15, 2024

Reviewer's Guide by Sourcery

This pull request updates the java-pubsub-group-kafka-connector project with several changes, including version updates, bug fixes, and new features. The changes primarily focus on improving the Kafka connector's functionality, updating dependencies, and adding migration support.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Update version and changelog
  • Bump version to 1.3.0
  • Add new features, bug fixes, and dependency updates to the changelog
CHANGELOG.md
Modify Renovate configuration
  • Add ignore paths for GitHub workflows
  • Add custom manager for GraalVM native image configuration
  • Update package rules for test dependencies
renovate.json
Update Docker image push script
  • Replace owlbot-java image with custom Kafka Connect image
  • Add variables for Docker image name, tag, and GCP project
  • Implement Docker tag and push commands
migration/docker/push-image.sh
Modify Dependabot configuration
  • Disable version updates for Maven dependencies
  • Add ignore rules for pip dependencies
.github/dependabot.yml
Update version reporting in connector classes
  • Replace AppInfoParser.getVersion() with Version.version()
  • Implement custom Version class for version reporting
src/main/java/com/google/pubsub/kafka/sink/CloudPubSubSinkConnector.java
src/main/java/com/google/pubsub/kafka/source/CloudPubSubSourceConnector.java
src/main/java/com/google/pubsublite/kafka/sink/PubSubLiteSinkConnector.java
src/main/java/com/google/pubsublite/kafka/sink/PubSubLiteSinkTask.java
src/main/java/com/google/pubsublite/kafka/source/PubSubLiteSourceConnector.java
src/main/java/com/google/pubsublite/kafka/source/PubSubLiteSourceTask.java
src/main/java/com/google/pubsub/kafka/common/Version.java
src/main/java/com/google/pubsublite/kafka/common/Version.java
Add Kubernetes deployment configuration
  • Create Deployment resource for the Kafka connector
  • Add HorizontalPodAutoscaler for the deployment
migration/k8s.yaml
Add Docker-related scripts for Kafka Connect configuration and startup
  • Create script to configure Kafka Connect
  • Add script to start PubSub Lite connector
  • Implement Docker image build script
  • Add PubSub Lite job configuration template
  • Create script to start Kafka Connect
migration/docker/configure-kafka-connect.sh
migration/docker/start-pubsub-lite-connector.sh
migration/docker/build-image.sh
migration/docker/pubsub_lite_job.json
migration/docker/start-kafka-connect.sh
Remove OwlBot and generated files bot configurations
  • Delete .OwlBot.yaml file
  • Remove generated-files-bot.yml
.github/.OwlBot.yaml
.github/generated-files-bot.yml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, pull[bot]!). We assume it knows what it's doing!

@pull pull bot added ⤵️ pull merge-conflict Resolve conflicts manually labels Oct 15, 2024
mihai-ghita and others added 16 commits October 25, 2024 15:16
deps: update google-cloud-shared-dependencies to 3.39.0
deps: use google-cloud-bom 0.231.0 instead of libraries-bom
deps: depend on pubsublite libraries from google-cloud-bom
deps: update pubsublite-kafka to 1.2.2
deps: update flogger to 0.8
fix: An optimization in guava 33.3.0 broke our tests by not calling `addListener()` on futures which are already `isDone()`. Add mock call to make our futures not `isDone()` in some tests.
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
…deprecated commitRecord method (#371)

* fix: override commitRecord method to compatible with kafka4.0

* Format code
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.6.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](pallets/jinja@3.1.3...3.1.6)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump zipp from 3.18.0 to 3.19.1 in /.kokoro

Bumps [zipp](https://github.com/jaraco/zipp) from 3.18.0 to 3.19.1.
- [Release notes](https://github.com/jaraco/zipp/releases)
- [Changelog](https://github.com/jaraco/zipp/blob/main/NEWS.rst)
- [Commits](jaraco/zipp@v3.18.0...v3.19.1)

---
updated-dependencies:
- dependency-name: zipp
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
* build(deps): bump certifi from 2024.2.2 to 2024.7.4 in /.kokoro

Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.2.2 to 2024.7.4.
- [Commits](certifi/python-certifi@2024.02.02...2024.07.04)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
* build(deps): bump urllib3 from 2.2.1 to 2.2.2 in /.kokoro

Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](urllib3/urllib3@2.2.1...2.2.2)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
* build(deps): bump idna from 3.4 to 3.7 in /.kokoro

Bumps [idna](https://github.com/kjd/idna) from 3.4 to 3.7.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](kjd/idna@v3.4...v3.7)

---
updated-dependencies:
- dependency-name: idna
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
* build(deps): bump urllib3 from 1.26.12 to 1.26.19 in /.kokoro

Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.12 to 1.26.19.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/1.26.19/CHANGES.rst)
- [Commits](urllib3/urllib3@1.26.12...1.26.19)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
* build(deps): bump jinja2 from 3.0.3 to 3.1.4 in /.kokoro

Bumps [jinja2](https://github.com/pallets/jinja) from 3.0.3 to 3.1.4.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](pallets/jinja@3.0.3...3.1.4)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
pradn and others added 10 commits April 22, 2025 14:16
Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.2.2 to 2024.7.4.
- [Commits](certifi/python-certifi@2024.02.02...2024.07.04)

---
updated-dependencies:
- dependency-name: certifi
  dependency-version: 2024.7.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Bumps [requests](https://github.com/psf/requests) from 2.31.0 to 2.32.4.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](psf/requests@v2.31.0...v2.32.4)

---
updated-dependencies:
- dependency-name: requests
  dependency-version: 2.32.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⤵️ pull merge-conflict Resolve conflicts manually
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants