Commit Graph

90 Commits

Author SHA1 Message Date
github-actions[bot] 72bdc4c9d0
chore: update dependencies
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-23 03:35:07 +00:00
github-actions[bot] ebd5561496
chore: update dependencies
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-16 03:33:59 +00:00
github-actions[bot] 5347cb097a
chore: update dependencies
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-09 03:33:25 +00:00
github-actions[bot] 4546fc7681
chore: update dependencies
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-02 03:32:43 +00:00
github-actions[bot] ccad78dea8
chore: update dependencies
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-26 03:28:14 +00:00
github-actions[bot] 8bc72908cb
chore: update dependencies
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-19 03:29:20 +00:00
Michael Gasch de3eee2499
chore: update dependencies incl. tests
Signed-off-by: Michael Gasch <15986659+embano1@users.noreply.github.com>
2025-05-12 10:05:07 +02:00
kmpm 93188722b1 fix: make send subject optional via context
added tests from @embano1

Signed-off-by: Peter Magnusson <me@kmpm.se>
2025-05-02 06:54:40 +00:00
github-actions[bot] 36aa874dbd
chore: update dependencies
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-28 03:24:27 +00:00
github-actions[bot] b886373441
chore: update dependencies
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-22 06:47:38 +00:00
github-actions[bot] b25dc6dbcf
chore: update dependencies
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-21 11:55:06 +02:00
github-actions[bot] 8e5d13be30
chore: update dependencies
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-20 13:52:01 +00:00
github-actions[bot] 78460dfa07
chore: update dependencies
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-20 12:57:51 +00:00
Michael Gasch 73cbfb13e9
chore: remove stale and broken otel samples
Signed-off-by: Michael Gasch <15986659+embano1@users.noreply.github.com>
2025-04-20 09:10:27 +02:00
Michael Gasch ba37fb7e8b
chore: update go deps
Signed-off-by: Michael Gasch <15986659+embano1@users.noreply.github.com>
2025-04-20 08:59:19 +02:00
Michael Gasch 6da042f56d chore: run go mod tidy
Signed-off-by: Michael Gasch <15986659+embano1@users.noreply.github.com>
2025-03-22 08:13:22 +01:00
dependabot[bot] 43d8d56594 chore(deps): Bump the go_modules group across 14 directories with 2 updates
Bumps the go_modules group with 1 update in the /observability/opencensus/v2 directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /protocol/kafka_sarama/v2 directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /protocol/nats/v2 directory: [golang.org/x/crypto](https://github.com/golang/crypto).
Bumps the go_modules group with 1 update in the /protocol/nats_jetstream/v2 directory: [golang.org/x/crypto](https://github.com/golang/crypto).
Bumps the go_modules group with 1 update in the /protocol/nats_jetstream/v3 directory: [golang.org/x/crypto](https://github.com/golang/crypto).
Bumps the go_modules group with 1 update in the /protocol/pubsub/v2 directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /protocol/stan/v2 directory: [golang.org/x/crypto](https://github.com/golang/crypto).
Bumps the go_modules group with 1 update in the /samples/http directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /samples/kafka directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /samples/nats_jetstream/v3 directory: [golang.org/x/crypto](https://github.com/golang/crypto).
Bumps the go_modules group with 1 update in the /samples/pubsub directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /test/benchmark directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /test/conformance directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /test/integration directory: [golang.org/x/net](https://github.com/golang/net).


Updates `golang.org/x/net` from 0.29.0 to 0.36.0
- [Commits](https://github.com/golang/net/compare/v0.29.0...v0.36.0)

Updates `golang.org/x/net` from 0.29.0 to 0.36.0
- [Commits](https://github.com/golang/net/compare/v0.29.0...v0.36.0)

Updates `golang.org/x/crypto` from 0.31.0 to 0.35.0
- [Commits](https://github.com/golang/crypto/compare/v0.31.0...v0.36.0)

Updates `golang.org/x/crypto` from 0.31.0 to 0.36.0
- [Commits](https://github.com/golang/crypto/compare/v0.31.0...v0.36.0)

Updates `golang.org/x/crypto` from 0.31.0 to 0.36.0
- [Commits](https://github.com/golang/crypto/compare/v0.31.0...v0.36.0)

Updates `golang.org/x/crypto` from 0.27.0 to 0.31.0
- [Commits](https://github.com/golang/crypto/compare/v0.31.0...v0.36.0)

Updates `golang.org/x/net` from 0.29.0 to 0.36.0
- [Commits](https://github.com/golang/net/compare/v0.29.0...v0.36.0)

Updates `golang.org/x/crypto` from 0.31.0 to 0.36.0
- [Commits](https://github.com/golang/crypto/compare/v0.31.0...v0.36.0)

Updates `golang.org/x/net` from 0.29.0 to 0.36.0
- [Commits](https://github.com/golang/net/compare/v0.29.0...v0.36.0)

Updates `golang.org/x/crypto` from 0.27.0 to 0.35.0
- [Commits](https://github.com/golang/crypto/compare/v0.31.0...v0.36.0)

Updates `golang.org/x/net` from 0.30.0 to 0.36.0
- [Commits](https://github.com/golang/net/compare/v0.29.0...v0.36.0)

Updates `golang.org/x/crypto` from 0.31.0 to 0.35.0
- [Commits](https://github.com/golang/crypto/compare/v0.31.0...v0.36.0)

Updates `golang.org/x/crypto` from 0.28.0 to 0.31.0
- [Commits](https://github.com/golang/crypto/compare/v0.31.0...v0.36.0)

Updates `golang.org/x/net` from 0.30.0 to 0.36.0
- [Commits](https://github.com/golang/net/compare/v0.29.0...v0.36.0)

Updates `golang.org/x/crypto` from 0.28.0 to 0.35.0
- [Commits](https://github.com/golang/crypto/compare/v0.31.0...v0.36.0)

Updates `golang.org/x/net` from 0.29.0 to 0.36.0
- [Commits](https://github.com/golang/net/compare/v0.29.0...v0.36.0)

Updates `golang.org/x/crypto` from 0.31.0 to 0.35.0
- [Commits](https://github.com/golang/crypto/compare/v0.31.0...v0.36.0)

Updates `golang.org/x/net` from 0.29.0 to 0.36.0
- [Commits](https://github.com/golang/net/compare/v0.29.0...v0.36.0)

Updates `golang.org/x/crypto` from 0.31.0 to 0.35.0
- [Commits](https://github.com/golang/crypto/compare/v0.31.0...v0.36.0)

Updates `golang.org/x/net` from 0.29.0 to 0.36.0
- [Commits](https://github.com/golang/net/compare/v0.29.0...v0.36.0)

Updates `golang.org/x/crypto` from 0.31.0 to 0.35.0
- [Commits](https://github.com/golang/crypto/compare/v0.31.0...v0.36.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-22 08:13:22 +01:00
Michael Gasch eb3391d6ee
chore: update go modules
Signed-off-by: Michael Gasch <15986659+embano1@users.noreply.github.com>
2025-03-20 09:18:53 +01:00
Michael Gasch 855f31cce5
chore: update workflows and deps to go 1.22
Signed-off-by: Michael Gasch <15986659+embano1@users.noreply.github.com>
2024-10-20 11:16:57 +02:00
stephen-totty-hpe c73615f3ed add v3 version of nats jetstream protocol with integration tests and samples
Signed-off-by: stephen-totty-hpe <stephen.totty@hpe.com>
2024-10-14 14:03:58 -04:00
dependabot[bot] 44540fbdcf
chore(deps): Bump the go_modules group across 9 directories with 1 update
Bumps the go_modules group with 1 update in the /observability/opencensus/v2 directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /protocol/kafka_sarama/v2 directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /protocol/pubsub/v2 directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /samples/http directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /samples/kafka directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /samples/pubsub directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /test/benchmark directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /test/conformance directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /test/integration directory: [golang.org/x/net](https://github.com/golang/net).


Updates `golang.org/x/net` from 0.23.0 to 0.29.0
- [Commits](https://github.com/golang/net/compare/v0.23.0...v0.29.0)

Updates `golang.org/x/net` from 0.23.0 to 0.29.0
- [Commits](https://github.com/golang/net/compare/v0.23.0...v0.29.0)

Updates `golang.org/x/net` from 0.23.0 to 0.29.0
- [Commits](https://github.com/golang/net/compare/v0.23.0...v0.29.0)

Updates `golang.org/x/net` from 0.23.0 to 0.29.0
- [Commits](https://github.com/golang/net/compare/v0.23.0...v0.29.0)

Updates `golang.org/x/net` from 0.23.0 to 0.29.0
- [Commits](https://github.com/golang/net/compare/v0.23.0...v0.29.0)

Updates `golang.org/x/net` from 0.23.0 to 0.29.0
- [Commits](https://github.com/golang/net/compare/v0.23.0...v0.29.0)

Updates `golang.org/x/net` from 0.23.0 to 0.29.0
- [Commits](https://github.com/golang/net/compare/v0.23.0...v0.29.0)

Updates `golang.org/x/net` from 0.23.0 to 0.29.0
- [Commits](https://github.com/golang/net/compare/v0.23.0...v0.29.0)

Updates `golang.org/x/net` from 0.23.0 to 0.29.0
- [Commits](https://github.com/golang/net/compare/v0.23.0...v0.29.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-26 13:33:41 +00:00
myan 485b631dd5 bump the mqtt sdk to v0.21.0
Signed-off-by: myan <myan@redhat.com>
2024-09-11 23:11:28 +08:00
dependabot[bot] d3996c9f7d
Bump the go_modules group across 9 directories with 1 update
Bumps the go_modules group with 1 update in the /observability/opencensus/v2 directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /protocol/kafka_sarama/v2 directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /protocol/pubsub/v2 directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /samples/http directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /samples/kafka directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /samples/pubsub directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /test/benchmark directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /test/conformance directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /test/integration directory: [golang.org/x/net](https://github.com/golang/net).


Updates `golang.org/x/net` from 0.17.0 to 0.23.0
- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0)

Updates `golang.org/x/net` from 0.17.0 to 0.23.0
- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0)

Updates `golang.org/x/net` from 0.17.0 to 0.23.0
- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0)

Updates `golang.org/x/net` from 0.17.0 to 0.23.0
- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0)

Updates `golang.org/x/net` from 0.17.0 to 0.23.0
- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0)

Updates `golang.org/x/net` from 0.17.0 to 0.23.0
- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0)

Updates `golang.org/x/net` from 0.17.0 to 0.23.0
- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0)

Updates `golang.org/x/net` from 0.17.0 to 0.23.0
- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0)

Updates `golang.org/x/net` from 0.17.0 to 0.23.0
- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-19 09:44:47 +00:00
Meng Yan 7fef294789 Add eventHandler option for confluent kafka producer
Signed-off-by: Meng Yan <myan@redhat.com>

reply review

Signed-off-by: Meng Yan <myan@redhat.com>

Update protocol/kafka_confluent/v2/protocol.go

Co-authored-by: Michael Gasch <15986659+embano1@users.noreply.github.com>
Signed-off-by: Meng Yan <myan@redhat.com>
2024-04-13 09:05:39 +00:00
myan 5cd87eafb4 confluent kafka binding
Signed-off-by: myan <myan@redhat.com>

add message implementation

Signed-off-by: myan <myan@redhat.com>

add ut test

Signed-off-by: myan <myan@redhat.com>

add integration test

Signed-off-by: myan <myan@redhat.com>

add integration test and samples

Signed-off-by: Meng Yan <myan@redhat.com>

offset

Signed-off-by: Meng Yan <myan@redhat.com>

remove the ctx

Signed-off-by: myan <myan@redhat.com>

 review

Signed-off-by: Meng Yan <myan@redhat.com>

remove

Signed-off-by: Meng Yan <myan@redhat.com>

init consumer and producer on 1 client

Signed-off-by: myan <myan@redhat.com>

reply the reviews

Signed-off-by: myan <myan@redhat.com>

fix the ci

Signed-off-by: myan <myan@redhat.com>

ci fix

Signed-off-by: Meng Yan <myan@redhat.com>

add confluent test in github action

Signed-off-by: Meng Yan <myan@redhat.com>

add the mis-used test case

Signed-off-by: Meng Yan <myan@redhat.com>

remove the invalidated bootstrapserver

Signed-off-by: Meng Yan <myan@redhat.com>

log kafka error message

Signed-off-by: myan <myan@redhat.com>

review

Signed-off-by: myan <myan@redhat.com>

Update protocol/kafka_confluent/v2/option.go

Co-authored-by: Michael Gasch <15986659+embano1@users.noreply.github.com>
Signed-off-by: myan <myan@redhat.com>

add the auto recover option

Signed-off-by: myan <myan@redhat.com>

kafka error handler

Signed-off-by: myan <myan@redhat.com>

remove the delievery chan

Signed-off-by: myan <myan@redhat.com>

Update protocol/kafka_confluent/v2/protocol.go

Co-authored-by: Michael Gasch <15986659+embano1@users.noreply.github.com>

Update protocol/kafka_confluent/v2/protocol.go

Co-authored-by: Michael Gasch <15986659+embano1@users.noreply.github.com>

Update protocol/kafka_confluent/v2/option.go

Co-authored-by: Michael Gasch <15986659+embano1@users.noreply.github.com>

Update protocol/kafka_confluent/v2/protocol.go

Co-authored-by: Michael Gasch <15986659+embano1@users.noreply.github.com>

reply review

Signed-off-by: myan <myan@redhat.com>

modify the git action

Signed-off-by: Meng Yan <myan@redhat.com>

reply review

Signed-off-by: Meng Yan <myan@redhat.com>

reply review

Signed-off-by: Meng Yan <myan@redhat.com>

handle race condition between sender and closer

Signed-off-by: Meng Yan <myan@redhat.com>

reply review

Signed-off-by: Meng Yan <myan@redhat.com>

reply review1

Signed-off-by: Meng Yan <myan@redhat.com>

add defer close

Signed-off-by: Meng Yan <myan@redhat.com>

add comment

Signed-off-by: Meng Yan <myan@redhat.com>
2024-03-26 03:33:50 +00:00
dependabot[bot] 209ea549f3
Bump the go_modules group across 1 directory with 1 update
Bumps the go_modules group with 1 update in the /samples/http directory: [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin).


Updates `github.com/gin-gonic/gin` from 1.8.2 to 1.9.1
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin-gonic/gin/compare/v1.8.2...v1.9.1)

---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
  dependency-type: direct:production
  dependency-group: go_modules-security-group
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-16 07:06:34 +00:00
dependabot[bot] f4d014fd77
Bump the go_modules group across 4 directories with 1 update
Bumps the go_modules group with 1 update in the /binding/format/protobuf/v2 directory: google.golang.org/protobuf.
Bumps the go_modules group with 1 update in the /protocol/pubsub/v2 directory: google.golang.org/protobuf.
Bumps the go_modules group with 1 update in the /samples/http directory: google.golang.org/protobuf.
Bumps the go_modules group with 1 update in the /samples/pubsub directory: google.golang.org/protobuf.


Updates `google.golang.org/protobuf` from 1.26.0 to 1.33.0

Updates `google.golang.org/protobuf` from 1.30.0 to 1.33.0

Updates `google.golang.org/protobuf` from 1.30.0 to 1.33.0

Updates `google.golang.org/protobuf` from 1.30.0 to 1.33.0

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  dependency-group: go_modules-security-group
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
  dependency-group: go_modules-security-group
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  dependency-group: go_modules-security-group
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
  dependency-group: go_modules-security-group
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-13 22:37:39 +00:00
dependabot[bot] 709c3d2583 Bump golang.org/x/crypto in /samples/nats_jetstream
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-30 05:43:42 -08:00
dependabot[bot] c425fc6d2d Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /samples/stan
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-30 05:37:07 -08:00
dependabot[bot] 9a7a95798b Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /samples/nats
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-30 05:09:06 -08:00
dependabot[bot] d2782e6bc8 Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /samples/http
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-30 04:56:12 -08:00
dependabot[bot] 1f3e93fb8d
Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /samples/kafka
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 19:45:44 +00:00
myan c20eef29df bump the pahao mqtt to v0.12
Signed-off-by: myan <myan@redhat.com>
2023-11-21 16:55:25 +08:00
dependabot[bot] 8bea9255b1
Bump google.golang.org/grpc from 1.56.1 to 1.56.3 in /samples/http
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.56.1 to 1.56.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.56.1...v1.56.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 02:47:20 +00:00
dependabot[bot] 7e05ecd57e
Bump google.golang.org/grpc from 1.56.1 to 1.56.3 in /samples/pubsub
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.56.1 to 1.56.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.56.1...v1.56.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-25 22:43:17 +00:00
Michael Gasch ec8b0f9906
deps: update nats dependencies
Signed-off-by: Michael Gasch <15986659+embano1@users.noreply.github.com>
2023-10-24 15:35:56 +02:00
dependabot[bot] 06658a2b06
Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
Bumps [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.23.0 to 0.44.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/v0.23.0...zpages/v0.44.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 19:06:48 +00:00
Doug Davis 6f5984be35 Move to go 1.18
Had to run gofmt and fix some weird typos due to tabs in the comments

Signed-off-by: Doug Davis <dug@microsoft.com>
2023-10-23 15:37:38 +00:00
dependabot[bot] d25d6e4a1d
Bump golang.org/x/net from 0.9.0 to 0.17.0 in /samples/pubsub
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.9.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.9.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 15:47:08 +00:00
dependabot[bot] 6ed9f793eb
Bump golang.org/x/net from 0.9.0 to 0.17.0 in /samples/http
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.9.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.9.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 15:29:15 +00:00
dependabot[bot] 806ef356d5
Bump golang.org/x/net from 0.12.0 to 0.17.0 in /samples/kafka
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.12.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.12.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-11 22:58:37 +00:00
Quang Nguyen f1c0d0aac5
change denpendency sarama from Shopify to IBM
Signed-off-by: Quang Nguyen <quang.astronaut@gmail.com>
2023-08-07 13:42:16 +07:00
myan 808bf38859
provide the qos and retain configuration for mqtt protocol
Signed-off-by: myan <myan@redhat.com>

to review

Signed-off-by: myan <myan@redhat.com>

avoid all-or-nothing

Signed-off-by: myan <myan@redhat.com>

rollback all-or-nothing

Signed-off-by: myan <myan@redhat.com>

convert tparamter to pointers

Signed-off-by: myan <myan@redhat.com>

fixed doc string

Signed-off-by: myan <myan@redhat.com>

remove the protocolContext

Signed-off-by: myan <myan@redhat.com>

add context for protocol

Signed-off-by: myan <myan@redhat.com>

initialize mqtt protocol with publish/subscribe options

Signed-off-by: myan <myan@redhat.com>

remove the sender options from context

Signed-off-by: myan <myan@redhat.com>

using functional options in new()

Signed-off-by: myan <myan@redhat.com>

add ctx to the new() function

Signed-off-by: myan <myan@redhat.com>
2023-07-30 13:27:31 +00:00
myan 766b88e886
remove the usage of deprecated io/ioutil package
Signed-off-by: myan <myan@redhat.com>
2023-07-18 06:50:21 +00:00
Meng Yan fdcb2d226a
mqtt protocol binding (#910)
* add receiver and opener for mqtt broker

Signed-off-by: myan <myan@redhat.com>

add protocol and sample files

Signed-off-by: myan <myan@redhat.com>

rollback samples to go1.17

Signed-off-by: myan <myan@redhat.com>

move the protocol to go1.17

Signed-off-by: myan <myan@redhat.com>

add message test

Signed-off-by: myan <myan@redhat.com>

trigger to run the integration test

Signed-off-by: myan <myan@redhat.com>

fixed go mod issue

Signed-off-by: myan <myan@redhat.com>

resolve the review issue

Signed-off-by: myan <myan@redhat.com>

remove the useless comment

Signed-off-by: myan <myan@redhat.com>

add ut for writeMessage

Signed-off-by: myan <myan@redhat.com>

go mod tidy

Signed-off-by: myan <myan@redhat.com>

add intergration test

Signed-off-by: myan <myan@redhat.com>

solve the uncheck error

Signed-off-by: myan <myan@redhat.com>

fix the integration error

Signed-off-by: myan <myan@redhat.com>

fix the integration error

Signed-off-by: myan <myan@redhat.com>

reply the review

Signed-off-by: myan <myan@redhat.com>

simpler tests

Signed-off-by: myan <myan@redhat.com>

remove the nesting

Signed-off-by: myan <myan@redhat.com>

refactor the recevier logic

Signed-off-by: myan <myan@redhat.com>

add a timer for assert loop

Signed-off-by: myan <myan@redhat.com>

* add copyright

Signed-off-by: myan <myan@redhat.com>

---------

Signed-off-by: myan <myan@redhat.com>
2023-07-13 09:08:08 -04:00
Michael Gasch f681ac6b51
Bump grpc dependencies and workflow versions (#914)
* chore: bump deps

bump deps for go modules using grpc

Signed-off-by: Michael Gasch <15986659+embano1@users.noreply.github.com>

* ci: add dependabot configuration

Signed-off-by: Michael Gasch <15986659+embano1@users.noreply.github.com>

* ci: update workflows

- bump and reorder actions (to enable modules caching)
- force go 1.17 module compatibility

Signed-off-by: Michael Gasch <15986659+embano1@users.noreply.github.com>

---------

Signed-off-by: Michael Gasch <15986659+embano1@users.noreply.github.com>
2023-07-10 13:28:48 -04:00
dependabot[bot] 50b18a01e5
Bump golang.org/x/crypto in /samples/http (#902)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.0.0-20211215153901-e495a2d5b3d3 to 0.1.0.
- [Commits](https://github.com/golang/crypto/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-21 08:44:41 -04:00
Dimitar Georgievski 5232986dcd
http: Fixes for Gin http receiver sample (#905)
Fixes for prematurely closed #842 PR. Applied all suggested code and doc
changes..

Signed-off-by: Dimitar Georgievski <dgeorgievski@gmail.com>
2023-06-08 10:43:35 -04:00
Dimitar Georgievski 9970acc7e5
Added a Gin http receiver sample (#842)
Signed-off-by: Dimitar Georgievski <dgeorgievski@gmail.com>
2023-06-01 10:00:09 -04:00
Doug Davis 17706ee361
use go mod w/o -go flag (#888)
Signed-off-by: Doug Davis <dug@microsoft.com>
2023-04-07 10:25:47 -04:00