Examples and code to assign a name to your MongoDB, MySQL, PostgreSQL, RabbitMQ, and redis connection.

Logo

your connection deserves a name

👀 When your app interacts with an external system, assign a name to the connection. An external system in this context can be things like a database, a cache, a message queue or an HTTP endpoint.

🎯 The goal should be: the external system can identify their clients.

🔥 During an incident, it will reduce the time to debug by multiple hours and often save other applications from failing.

➡️ Read more about this at your database connection deserves a name @ andygrunwald.com.

How to do it (with examples)

This repository provides you example code for various systems in different programming languages:

Missing a system or a programming language?

If you

  • know a system that supports connection naming, and it is not listed here
  • miss a programing language example in your favorite language

let us know in either of two ways:

  1. Create an Issue with all the details you have in mind
  2. or create a Pull Request with the implementation.

We are happy to extend this project.

Comments
  • Add connection naming example for Oracle Database

    Add connection naming example for Oracle Database

  • SQL Server

    SQL Server

    https://docs.microsoft.com/en-us/dotnet/api/system.data.sqlclient.sqlconnectionstringbuilder.applicationname?view=dotnet-plat-ext-5.0

    Here is how to do it for SQL Server, and preach on! I have been trying to get everyone on board this train for years that I work with.

  • Bump github.com/nats-io/nats.go from 1.21.0 to 1.22.0 in /nats/go

    Bump github.com/nats-io/nats.go from 1.21.0 to 1.22.0 in /nats/go

    Bumps github.com/nats-io/nats.go from 1.21.0 to 1.22.0.

    Release notes

    Sourced from github.com/nats-io/nats.go's releases.

    Release v1.22.0

    Changelog

    Overview

    This release adds a beta implementation of micro package, which provides API for creating and monitoring microservices on top of NATS connection.

    Added

    • Service API beta implementation (#1160)
    • Getters for connection callbacks (#1162)

    Complete Changes

    https://github.com/nats-io/nats.go/compare/v1.21.0...v1.22.0

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/nats-io/nats.go from 1.18.0 to 1.20.0 in /nats/go

    Bump github.com/nats-io/nats.go from 1.18.0 to 1.20.0 in /nats/go

    Bumps github.com/nats-io/nats.go from 1.18.0 to 1.20.0.

    Release notes

    Sourced from github.com/nats-io/nats.go's releases.

    Release v1.20.0

    Changelog

    Changed

    • JetStream:
      • [BREAKING CHANGE] Extract nats: Consumer Deleted server error to ErrConsumerDeleted variable. This error is returned when consumer is deleted while waiting on pull request and was introduced in nats-server v2.9.6 (#1125)

    Improved

    • JetStream:
      • Fix broken comments on ErrConsumerNameAlreadyInUse and StreamNameBySubject(). Thanks to @​subtle-byte for the contribution (#1128)
    • Core NATS:
      • Improve comment on RetryOnFailedConnect connect option (#1127)

    Complete Changes

    https://github.com/nats-io/nats.go/compare/v1.19.1...v1.20.0

    Release v1.19.1

    Changelog

    Added

    • JetStream:
      • Expose StreamNameBySubject method on JetStreamContext interface for looking up stream by subject (#1114)
      • Return stream alternates when fetching stream info (#1118)

    Changed

    • KV:
      • Use BindStream for watcher so it works with mirrors (#1116)

    Fixed

    • KV:
      • Delete key not working correctly across mirrors (#1115)

    Complete Changes

    https://github.com/nats-io/nats.go/compare/v1.19.0...v1.19.1

    Release v1.19.0

    Changelog

    Added

    • KV:
      • Support for KV mirrors and sources (#1112)

    Improved

    • JetStream:
      • Comment on InactiveThreshold to align with server version 2.9.0. Thanks to @​neilalexander for the contribution (#1106)

    Experimental

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/godror/godror from 0.34.0 to 0.35.0 in /oracle/go

    Bump github.com/godror/godror from 0.34.0 to 0.35.0 in /oracle/go

    Bumps github.com/godror/godror from 0.34.0 to 0.35.0.

    Changelog

    Sourced from github.com/godror/godror's changelog.

    Changelog

    All notable changes to this project will be documented in this file.

    The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

    [Unreleased]

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/nats-io/nats.go from 1.18.0 to 1.19.1 in /nats/go

    Bump github.com/nats-io/nats.go from 1.18.0 to 1.19.1 in /nats/go

    Bumps github.com/nats-io/nats.go from 1.18.0 to 1.19.1.

    Release notes

    Sourced from github.com/nats-io/nats.go's releases.

    Release v1.19.1

    Changelog

    Added

    • JetStream:
      • Expose StreamNameBySubject method on JetStreamContext interface for looking up stream by subject (#1114)
      • Return stream alternates when fetching stream info (#1118)

    Changed

    • KV:
      • Use BindStream for watcher so it works with mirrors (#1116)

    Fixed

    • KV:
      • Delete key not working correctly across mirrors (#1115)

    Complete Changes

    https://github.com/nats-io/nats.go/compare/v1.19.0...v1.19.1

    Release v1.19.0

    Changelog

    Added

    • KV:
      • Support for KV mirrors and sources (#1112)

    Improved

    • JetStream:
      • Comment on InactiveThreshold to align with server version 2.9.0. Thanks to @​neilalexander for the contribution (#1106)

    Experimental

    • Added Service framework for microservice communication using core NATS. This is an experimental preview and may be changed in future releases (#1111)

    Complete Changes

    https://github.com/nats-io/nats.go/compare/v1.18.0...v1.19.0

    Commits
    • 980f955 Release v1.19.1 (#1123)
    • fbeee79 Merge pull request #1118 from nats-io/stream-alternates
    • 6bd7837 Support stream alternates
    • e227e17 Merge pull request #1116 from nats-io/kv-mirror-watcher
    • 416c895 Use BindStream for watcher so it works with mirrors.
    • 48285d7 Merge pull request #1115 from nats-io/kv-mirror-fix-delete
    • 7ac1087 [CHANGED] Make lookupStreamBySubject public (#1114)
    • 9d7afb4 [FIX] KV delete not working correctly accross mirrors
    • 6e4828a Merge pull request #1113 from nats-io/release/v1.19.0
    • 1f737b7 Release v1.19.0
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump go.mongodb.org/mongo-driver from 1.10.3 to 1.11.0 in /mongodb/go

    Bump go.mongodb.org/mongo-driver from 1.10.3 to 1.11.0 in /mongodb/go

    Bumps go.mongodb.org/mongo-driver from 1.10.3 to 1.11.0.

    Release notes

    Sourced from go.mongodb.org/mongo-driver's releases.

    MongoDB Go Driver 1.10.4

    The MongoDB Go Driver Team is pleased to release version 1.10.4 of the official Go driver.

    Release Notes

    This release contains several bugfixes. One of the bugfixes removes a severe bug in SRV polling which may prevent changes in SRV records from updating the servers that the Go Driver attempts to connect to when the MongoDB connection string includes a username and password.


    For a full list of tickets included in this release, please see the links below:

    Documentation for the Go driver can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. Questions and inquiries can be asked on the MongoDB Developer Community. Bugs can be reported in the Go Driver project in the MongoDB JIRA where a list of current issues can be found. Your feedback on the Go driver is greatly appreciated!

    Commits
    • ea2a55c Update version to v1.11.0
    • 1123dac GODRIVER-1530 GODRIVER-1213 Fix the enterprise auth test runner. (#1118)
    • 7586dd7 GODRIVER-2621 use batchtime for fuzz tests (#1117)
    • 9567271 GODRIVER-2631 - Always close internal.DefaultHTTPClient on Client.Disconnect ...
    • 4a22ce6 GODRIVER-2050 - Add settable http.Clients and gracefully close provided defau...
    • edfc51c GODRIVER-2565 Abort transaction before CommitLoop if context errored. (#1101)
    • e4853fb GODRIVER-2620 Fix hostname parsing for SRV polling. (#1112)
    • f5312df GODRIVER-2487 No useMultipleMongoses false in findOneAndUpdate errorResponse ...
    • 423be54 GODRIVER-2174 Bump minimum Go version to 1.13. (#1100)
    • 39194dd GODRIVER-2604 Add ErrServerSelectionTimeout and WaitQueueTimeoutError to ...
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump go.mongodb.org/mongo-driver from 1.10.3 to 1.10.4 in /mongodb/go

    Bump go.mongodb.org/mongo-driver from 1.10.3 to 1.10.4 in /mongodb/go

    Bumps go.mongodb.org/mongo-driver from 1.10.3 to 1.10.4.

    Commits
    • 29dffaf Update version to v1.10.4
    • 861364b GODRIVER-2620 Fix hostname parsing for SRV polling. (#1112)
    • 5762c6a GODRIVER-2543 Run make fmt with the latest Go version. #1065
    • 2855941 GODRIVER-2565 Abort transaction before CommitLoop if context errored. (#1101)
    • 3f59691 Update version to v1.10.4-prerelease
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/nats-io/nats.go from 1.18.0 to 1.19.0 in /nats/go

    Bump github.com/nats-io/nats.go from 1.18.0 to 1.19.0 in /nats/go

    Bumps github.com/nats-io/nats.go from 1.18.0 to 1.19.0.

    Release notes

    Sourced from github.com/nats-io/nats.go's releases.

    Release v1.19.0

    Changelog

    Added

    • KV:
      • Support for KV mirrors and sources (#1112)

    Improved

    • JetStream:
      • Comment on InactiveThreshold to align with server version 2.9.0. Thanks to @​neilalexander for the contribution (#1106)

    Experimantal

    • Added Service framework for microservice communication using core NATS. This is an experimantal preview and may be changed in future releases (#1111)

    Complete Changes

    https://github.com/nats-io/nats.go/compare/v1.18.0...v1.19.0

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump go.mongodb.org/mongo-driver from 1.7.0 to 1.10.3 in /mongodb/go

    Bump go.mongodb.org/mongo-driver from 1.7.0 to 1.10.3 in /mongodb/go

    Bumps go.mongodb.org/mongo-driver from 1.7.0 to 1.10.3.

    Release notes

    Sourced from go.mongodb.org/mongo-driver's releases.

    MongoDB Go Driver 1.10.3

    The MongoDB Go Driver Team is pleased to release version 1.10.3 of the official Go driver.

    Release Notes

    This release contains several bugfixes.


    For a full list of tickets included in this release, please see the links below:

    Documentation for the Go driver can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. Questions and inquiries can be asked on the MongoDB Developer Community. Bugs can be reported in the Go Driver project in the MongoDB JIRA where a list of current issues can be found. Your feedback on the Go driver is greatly appreciated!

    MongoDB Go Driver 1.10.2

    The MongoDB Go Driver Team is pleased to release version 1.10.2 of the official Go driver.

    Release Notes

    This release stops treating context errors as retryable network errors where possible.


    For a full list of tickets included in this release, please see the links below:

    Documentation for the Go driver can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. Questions and inquiries can be asked on the MongoDB Developer Community. Bugs can be reported in the Go Driver project in the MongoDB JIRA where a list of current issues can be found. Your feedback on the Go driver is greatly appreciated!

    MongoDB Go Driver 1.10.1

    The MongoDB Go Driver Team is pleased to release version 1.10.1 of the official Go driver.

    Release Notes

    This release, along with the libmongocrypt v1.5.2 release, fixes a potential encryption key corruption bug in ClientEncryption.RewrapManyDataKey that can lead to encrypted data corruption when rotating encryption keys backed by GCP or Azure key services.

    This release also removes potentially confusing deprecation warnings added to some existing timeout mechanisms in the v1.10.0 release.

    Fix for potential data corruption when rotating encryption keys

    Fixes a potential encryption key corruption bug in ClientEncryption.RewrapManyDataKey that can lead to encrypted data corruption when rotating encryption keys backed by GCP or Azure key services. See the libmongocrypt v1.5.2 release notes for more details about the bug. ClientEncryption.RewrapManyDataKey will now return an error if the linked version of libmongocrypt is less than 1.5.2.


    For a full list of tickets included in this release, please see the links below:

    ... (truncated)

    Commits
    • 79c9a4b Update version to v1.10.3
    • b504c38 GODRIVER-2533 Fix data race from NumberSessionsInProgress. (#1085)
    • 404feab GODRIVER-2536 Return early in replaceErrors. (#1076)
    • d0c497a Update version to v1.10.3-prerelease
    • f78a853 Update version to v1.10.2
    • 688e74b Fix new lint failures and drop deprecated linters. (#1055)
    • 0618fdf GODRIVER-2483 Make RTT90 client integration test more reliable. (#1025)
    • c4993a5 Stop treating context errors as network errors where possible. (#1045)
    • 16c2ea0 GODRIVER-2518 Use Go 1.18 for Evergreen CI. (#1047)
    • d593ef8 Update version to v1.10.2-prerelease
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/lib/pq from 1.10.2 to 1.10.7 in /mssql/go

    Bump github.com/lib/pq from 1.10.2 to 1.10.7 in /mssql/go

    Bumps github.com/lib/pq from 1.10.2 to 1.10.7.

    Release notes

    Sourced from github.com/lib/pq's releases.

    v1.10.4

    • Keep track of (context cancelled) error on connection.
    • Fix android build

    v1.10.3

    • implement ConnPrepareContext/StmtQueryContext/StmtExecContext interfaces (context.Cancel() now ends connections)
    • Avoid type assertion to the same type
    • Fix build for illumos and solaris
    Commits
    • d5affd5 Merge pull request #1088 from kelvich/sni_support
    • d65e6ae Merge pull request #1083 from nhooyr/fix-receiver-51e2
    • 957fc0b Set SNI for TSL connections
    • 89fee89 Use pointer receiver on pq.Error.Error()
    • 8c6de56 Merge pull request #1081 from catj-cockroach/add-kubernetes-secret-support
    • d8917fa adds support for kubernetes mounted private keys
    • 54a3a4b Merge pull request #1082 from johanneswuerbach/connector-dialer
    • 30d9faf Merge pull request #1080 from drakkan/sqlstate
    • cf6aeee feat: change the connector dialer
    • ef3111e error: add SQLState
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/nats-io/nats.go from 1.21.0 to 1.22.1 in /nats/go

    Bump github.com/nats-io/nats.go from 1.21.0 to 1.22.1 in /nats/go

    Bumps github.com/nats-io/nats.go from 1.21.0 to 1.22.1.

    Release notes

    Sourced from github.com/nats-io/nats.go's releases.

    Release v1.22.1

    Changelog

    Changed

    • Service API:
      • Monitoring subjects for a service are no longer uppercase (#1166)
      • Changed RequestHandler signature to no longer return an error (#1166)

    Complete Changes

    https://github.com/nats-io/nats.go/compare/v1.22.0...v1.22.1

    Release v1.22.0

    Changelog

    Overview

    This release adds a beta implementation of micro package, which provides API for creating and monitoring microservices on top of NATS connection.

    Added

    • Service API beta implementation (#1160)
    • Getters for connection callbacks (#1162)

    Complete Changes

    https://github.com/nats-io/nats.go/compare/v1.21.0...v1.22.0

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump go.mongodb.org/mongo-driver from 1.11.0 to 1.11.1 in /mongodb/go

    Bump go.mongodb.org/mongo-driver from 1.11.0 to 1.11.1 in /mongodb/go

    Bumps go.mongodb.org/mongo-driver from 1.11.0 to 1.11.1.

    Release notes

    Sourced from go.mongodb.org/mongo-driver's releases.

    MongoDB Go Driver 1.11.1

    The MongoDB Go Driver Team is pleased to release version 1.11.1 of the official Go driver.

    Release Notes

    This release contains a bug fix for heartbeat buildup with streaming protocol when the Go driver process is paused in an FAAS environment (e.g. AWS Lambda). This release also includes a bug fix for handling sequential "NoWritesPerformed" labeled operation errors, in that they should still return the "previous indefinite error".

    P.S. We want to hear about how Go developers use MongoDB and the MongoDB Go Driver! If you haven't already, please take the 2022 MongoDB Go Developer Survey.


    For a full list of tickets included in this release, please see the links below:

    Documentation for the Go driver can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. Questions and inquiries can be asked on the MongoDB Developer Community. Bugs can be reported in the Go Driver project in the MongoDB JIRA where a list of current issues can be found. Your feedback on the Go driver is greatly appreciated!

    Commits
    • 88c138b Update version to v1.11.1
    • 1f525ec Merge branch 'release/1.11' of github.com:mongodb/mongo-go-driver into releas...
    • fc7ebbb Revert "Release/1.11 (#1146)"
    • bf833d5 Release/1.11 (#1146)
    • cd79115 resolve merge conflicts
    • ed484be GODRIVER-2577 Retry heartbeat on timeout to prevent pool cleanup in FAAS paus...
    • 30805e4 GODRIVER-2333 Assert that Ping op succeeds initial DNS spec tests (#1124)
    • 19f3fb9 GODRIVER-2651 Break NoWritesPerformed-Only Error Sequence (#1135)
    • 4803b59 Update version to v1.11.1-prerelease
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/godror/godror from 0.35.1 to 0.36.0 in /oracle/go

    Bump github.com/godror/godror from 0.35.1 to 0.36.0 in /oracle/go

    Bumps github.com/godror/godror from 0.35.1 to 0.36.0.

    Changelog

    Sourced from github.com/godror/godror's changelog.

    [v0.36.0]

    Added

    • initOnNewConnection connection flag to call OnInit only when the connection is new.

    [v0.35.0]

    Changed

    • Use ODPI-v4.6.0

    [v0.34.0]

    Added

    • ObjectType.AttributeNames() returns the attribute names in DB order.
    • PoolStats has a DBStats method to convert it to sql.DBStats.
    • By embedding godror.ObjectTypeName and setting the field tag with "godror:,type=my_pkg.type" you can use structs in place of Oracle objects in ExecStmt.

    [v0.33.0]

    Changed

    • SetLogger accept github.com/go-logr/logr.Logger

    [v0.32.0]

    • Update to Go 1.15 as minimal required version.

    [v0.31.0]

    Added

    • NumberAsString option
    • Queue.PurgeExpired

    Changed

    • By default, return Number for numbers (not string)
    • Always run session Init functions

    [v0.30.2]

    Changed

    • Fix Queue.Dequeue to work with non-existing MsgID (#201).

    [v0.30.1]

    Added

    • Object{,Collection}.FromJSON

    [v0.30.0]

    Added

    • Object{,Collection}.{AsMap,ToJSON}

    Changed

    • DeqOptions.MsgID changed from string to []byte

    [v0.29.0]

    Added

    • Add github.com/godror/knownpb/timestamppb.Timestamp

    Changed

    • Remove pbTimestamp (behind timestamppb tag), github.com/UNO-SOFT/knownpb/timestamppb implements driver.Valuer and sql.Scanner.

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Simple key-value store abstraction and implementations for Go (Redis, Consul, etcd, bbolt, BadgerDB, LevelDB, Memcached, DynamoDB, S3, PostgreSQL, MongoDB, CockroachDB and many more)

gokv Simple key-value store abstraction and implementations for Go Contents Features Simple interface Implementations Value types Marshal formats Road

Dec 24, 2022
💲 Golang, Go Fiber, RabbitMQ, MongoDB, Docker, Kubernetes, GitHub Actions
💲 Golang, Go Fiber, RabbitMQ, MongoDB, Docker, Kubernetes, GitHub Actions

Bank Projeto para simular empréstimos financeiros em um banco para clientes Tecnologias Utilizadas Golang MongoDB RabbitMQ Github Actions Docker Hub D

Dec 9, 2022
Golang MongoDB Integration Examples

Get Program Get a copy of the program: git clone https://github.com/hmdhszd/Go

Feb 1, 2022
Go-mongodb - Practice Go with MongoDB because why not

Practice Mongo DB with Go Because why not. Dependencies gin-gonic go mongodb dri

Jan 5, 2022
Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package

Go-MySQL-Driver A MySQL-Driver for Go's database/sql package Features Requirements Installation Usage DSN (Data Source Name) Password Protocol Address

Jan 4, 2023
GoBigdis is a persistent database that implements the Redis server protocol. Any Redis client can interface with it and start to use it right away.

GoBigdis GoBigdis is a persistent database that implements the Redis server protocol. Any Redis client can interface with it and start to use it right

Apr 27, 2022
Golang client for redislabs' ReJSON module with support for multilple redis clients (redigo, go-redis)

Go-ReJSON - a golang client for ReJSON (a JSON data type for Redis) Go-ReJSON is a Go client for ReJSON Redis Module. ReJSON is a Redis module that im

Dec 25, 2022
Redis client Mock Provide mock test for redis query

Redis client Mock Provide mock test for redis query, Compatible with github.com/go-redis/redis/v8 Install Confirm that you are using redis.Client the

Dec 27, 2022
Bxd redis benchmark - Redis benchmark tool for golang

使用 redis benchmark 工具, 测试 10 20 50 100 200 1k 5k 字节 value 大小,redis get set 性能。 r

Jan 22, 2022
🐺 Garment retains a single connection pool for different database types used inside you application
🐺 Garment retains a single connection pool for different database types used inside you application

Garment A Thread Safe Connection Pooling. Garment retains a single connection pool for different database types used inside you application (MySQL, Re

Nov 9, 2022
golang connection pool

Connection pool for golang

Dec 13, 2021
Mongo Go Models (mgm) is a fast and simple MongoDB ODM for Go (based on official Mongo Go Driver)
Mongo Go Models (mgm) is a fast and simple MongoDB ODM for Go (based on official Mongo Go Driver)

Mongo Go Models Important Note: We changed package name from github.com/Kamva/mgm/v3(uppercase Kamva) to github.com/kamva/mgm/v3(lowercase kamva) in v

Jan 2, 2023
A MongoDB compatible embeddable database and toolkit for Go.
A MongoDB compatible embeddable database and toolkit for Go.

lungo A MongoDB compatible embeddable database and toolkit for Go. Installation Example Motivation Architecture Features License Installation To get s

Jan 3, 2023
The MongoDB driver for Go

The MongoDB driver for Go This fork has had a few improvements by ourselves as well as several PR's merged from the original mgo repo that are current

Jan 8, 2023
The Go driver for MongoDB
The Go driver for MongoDB

MongoDB Go Driver The MongoDB supported driver for Go. Requirements Installation Usage Bugs / Feature Reporting Testing / Development Continuous Integ

Dec 31, 2022
Qmgo - The Go driver for MongoDB. It‘s based on official mongo-go-driver but easier to use like Mgo.

Qmgo English | 简体中文 Qmgo is a Go driver for MongoDB . It is based on MongoDB official driver, but easier to use like mgo (such as the chain call). Qmg

Dec 28, 2022
Go-odm, a Golang Object Document Mapping for MongoDB.
Go-odm, a Golang Object Document Mapping for MongoDB.

A project of SENROK Open Source Go ODM Go-odm, a Golang Object Document Mapping for MongoDB. Table of contents Features Installation Get started Docum

Nov 4, 2022
PostgreSQL driver and toolkit for Go

pgx - PostgreSQL Driver and Toolkit pgx is a pure Go driver and toolkit for PostgreSQL. pgx aims to be low-level, fast, and performant, while also ena

Jan 4, 2023
pogo is a lightweight Go PostgreSQL internal state query engine.

pogo is a lightweight Go PostgreSQL internal state query engine. It focuses on the data that are highly dynamic in nature, and provides some conv

Sep 19, 2021