Kafka, Beanstalkd, Pulsar Pub/Sub framework

Related tags

Messaging go-queue
Overview

go-queue

Kafka, Beanstalkd, Pulsar Pub/Sub framework. Reference: https://github.com/zeromicro/go-queue

beanstalkd

High available beanstalkd.

consumer example

config.yaml

Name: beanstalkd
Telemetry:
  Name: beanstalkd
  Endpoint: http://localhost:14268/api/traces
  Sampler: 1.0
  Natcher: jaeger
package main

import (
	"context"
	"github.com/chenquan/go-queue/beanstalkd"
	"github.com/zeromicro/go-zero/core/conf"
	"github.com/zeromicro/go-zero/core/logx"
	"github.com/zeromicro/go-zero/core/service"
	"github.com/zeromicro/go-zero/core/stores/redis"
)

func main() {
	var c service.ServiceConf
	conf.MustLoad("config.yaml", &c)

	c.MustSetUp()

	consumer := beanstalkd.NewConsumer(beanstalkd.Conf{
		Beanstalkd: beanstalkd.Beanstalkd{
			Endpoints: []string{
				"localhost:11300",
				"localhost:11300",
			},
			Tube: "tube",
		},
		Redis: redis.RedisConf{
			Host: "localhost:6379",
			Type: redis.NodeType,
		},
	}, beanstalkd.WithHandle(func(ctx context.Context, body []byte) {
		logx.WithContext(ctx).Info(string(body))

	}))
	defer consumer.Stop()
	consumer.Start()
}

producer example

package main

import (
	"context"
	"fmt"
	"github.com/chenquan/go-queue/beanstalkd"
	"strconv"
	"time"
)

func main() {
	producer := beanstalkd.NewProducer(
		beanstalkd.Beanstalkd{
			Tube: "tube",
			Endpoints: []string{
				"localhost:11300",
				"127.0.0.1:11300",
			},
		},
	)

	for i := 1; i < 1005; i++ {
		//_, err := producer.Delay(context.Background(), []byte(strconv.Itoa(i)), time.Second*5)
		//if err != nil {
		//	fmt.Println(err)
		//}
		_, err := producer.Push(context.Background(), nil, []byte(strconv.Itoa(i)), beanstalkd.WithDuration(time.Second*5))
		if err != nil {
			fmt.Println(err)
		}
	}
}

kafka

Kafka Pub/Sub framework

consumer example

config.yaml

Name: kafka
Brokers:
  - 127.0.0.1:19092
  - 127.0.0.1:19092
  - 127.0.0.1:19092
Group: kafka
Topic: kafka
Offset: first
Consumers: 1

Telemetry:
  Name: kq
  Endpoint: http://localhost:14268/api/traces
  Sampler: 1.0
  Natcher: jaeger

example code

%s\n", v)) return nil })) defer q.Stop() q.Start() } ">
package main

import (
	"context"
	"fmt"
	"github.com/chenquan/go-queue/kafka"
	"github.com/chenquan/go-queue/queue"
	"github.com/zeromicro/go-zero/core/logx"
	"github.com/zeromicro/go-zero/core/service"

	"github.com/zeromicro/go-zero/core/conf"
)

func main() {
	var c struct {
		kafka.Conf
		service.ServiceConf
	}

	conf.MustLoad("config.yaml", &c)
	c.MustSetUp()

	q := kafka.MustNewQueue(c.Conf, queue.WithHandle(func(ctx context.Context, k, v []byte) error {
		logx.WithContext(ctx).Info(fmt.Sprintf("=> %s\n", v))
		return nil
	}))
	defer q.Stop()
	q.Start()
}

producer example

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"github.com/chenquan/go-queue/kafka"
	"log"
	"math/rand"
	"strconv"
	"time"

	"github.com/zeromicro/go-zero/core/cmdline"
)

type message struct {
	Key     string `json:"key"`
	Value   string `json:"value"`
	Payload string `json:"message"`
}

func main() {
	pusher := kafka.NewPusher([]string{
		"127.0.0.1:19092",
		"127.0.0.1:19092",
		"127.0.0.1:19092",
	}, "kafka")

	ticker := time.NewTicker(time.Millisecond)
	for round := 0; round < 3; round++ {
		<-ticker.C

		count := rand.Intn(100)
		m := message{
			Key:     strconv.FormatInt(time.Now().UnixNano(), 10),
			Value:   fmt.Sprintf("%d,%d", round, count),
			Payload: fmt.Sprintf("%d,%d", round, count),
		}
		body, err := json.Marshal(m)
		if err != nil {
			log.Fatal(err)
		}

		fmt.Println(string(body))
		if _, err := pusher.Push(context.Background(), []byte(strconv.FormatInt(time.Now().UnixNano(), 10)), body); err != nil {
			log.Fatal(err)
		}
	}

	cmdline.EnterToContinue()
}

pulsar

Pulsar Pub/Sub framework

consumer example

config.yaml

Name: pulsar
Brokers:
  - 127.0.0.1:6650
Topic: pulsar
Conns: 2
Processors: 2
SubscriptionName: pulsar

Telemetry:
  Name: pulsar
  Endpoint: http://localhost:14268/api/traces
  Sampler: 1.0
  Natcher: jaeger

consumer code

%s\n", v)) return nil })) defer q.Stop() q.Start() } ">
package main

import (
	"context"
	"fmt"
	"github.com/chenquan/go-queue/pulsar"
	"github.com/chenquan/go-queue/queue"
	"github.com/zeromicro/go-zero/core/logx"
	"github.com/zeromicro/go-zero/core/service"

	"github.com/zeromicro/go-zero/core/conf"
)

func main() {
	var c struct {
		pulsar.Conf
		service.ServiceConf
	}
	conf.MustLoad("config.yaml", &c)
	c.MustSetUp()

	q := pulsar.MustNewQueue(c.Conf, queue.WithHandle(func(ctx context.Context, k, v []byte) error {
		logx.WithContext(ctx).Info(fmt.Sprintf("=> %s\n", v))
		return nil
	}))
	defer q.Stop()
	q.Start()
}

producer code

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"github.com/chenquan/go-queue/pulsar"
	"log"
	"math/rand"
	"strconv"
	"time"

	"github.com/zeromicro/go-zero/core/cmdline"
)

type message struct {
	Key     string `json:"key"`
	Value   string `json:"value"`
	Payload string `json:"message"`
}

func main() {
	pusher := pulsar.NewPusher([]string{
		"127.0.0.1:19092",
		"127.0.0.1:19092",
		"127.0.0.1:19092",
	}, "pulsar")

	ticker := time.NewTicker(time.Millisecond)
	for round := 0; round < 3; round++ {
		<-ticker.C

		count := rand.Intn(100)
		m := message{
			Key:     strconv.FormatInt(time.Now().UnixNano(), 10),
			Value:   fmt.Sprintf("%d,%d", round, count),
			Payload: fmt.Sprintf("%d,%d", round, count),
		}
		body, err := json.Marshal(m)
		if err != nil {
			log.Fatal(err)
		}

		fmt.Println(string(body))

		if _, err := pusher.Push(context.Background(), []byte(strconv.FormatInt(time.Now().UnixNano(), 10)), body); err != nil {
			log.Fatal(err)
		}
	}

	cmdline.EnterToContinue()
}
Comments
  • chore(deps): bump github.com/segmentio/kafka-go from 0.4.28 to 0.4.32

    chore(deps): bump github.com/segmentio/kafka-go from 0.4.28 to 0.4.32

    Bumps github.com/segmentio/kafka-go from 0.4.28 to 0.4.32.

    Release notes

    Sourced from github.com/segmentio/kafka-go's releases.

    v0.4.32

    What's Changed

    New Contributors

    Full Changelog: https://github.com/segmentio/kafka-go/compare/v0.4.31...v0.4.32

    v0.4.31

    What's Changed

    New Contributors

    Full Changelog: https://github.com/segmentio/kafka-go/compare/v0.4.30...v0.4.31

    v0.4.30

    What's Changed

    Full Changelog: https://github.com/segmentio/kafka-go/compare/v0.4.29...v0.4.30

    v0.4.29

    What's Changed

    ... (truncated)

    Commits
    • da91759 Reader: allow config to return OffsetOutOfRange errors (#917)
    • e7c2c10 Merge pull request #925 from rhansen2/cyx-fix-handle-error-in-response
    • 4f3f3dd use errors package for comparisons
    • 2cdf54a panic in describeconfigs merge when unknown type is received
    • e67bd5f fix: handle error in response
    • 4788faf feat: reuse decompressed buffer to avoid allocating buffer whenever a batch i...
    • 294fbdb enable errorlint linter and fix issues (#914)
    • fb1504a Fix typo in Writer fields documentation (#916)
    • efb57af ReferenceHash balancer (#906)
    • cc6b7a1 build: add golangci-lint to circleci config (#907)
    • 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)
    dependencies 
    opened by dependabot[bot] 3
  • chore(deps): bump github.com/segmentio/kafka-go from 0.4.32 to 0.4.33

    chore(deps): bump github.com/segmentio/kafka-go from 0.4.32 to 0.4.33

    Bumps github.com/segmentio/kafka-go from 0.4.32 to 0.4.33.

    Release notes

    Sourced from github.com/segmentio/kafka-go's releases.

    v0.4.33

    What's Changed

    New Contributors

    Full Changelog: https://github.com/segmentio/kafka-go/compare/v0.4.32...v0.4.33

    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 will merge this PR once it's up-to-date and CI passes on it, as requested by @chenquan.


    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)
    dependencies 
    opened by dependabot[bot] 2
  • chore(deps): bump go.opentelemetry.io/otel from 1.10.0 to 1.11.0

    chore(deps): bump go.opentelemetry.io/otel from 1.10.0 to 1.11.0

    Bumps go.opentelemetry.io/otel from 1.10.0 to 1.11.0.

    Changelog

    Sourced from go.opentelemetry.io/otel's changelog.

    [1.11.0/0.32.3] 2022-10-12

    Added

    • Add default User-Agent header to OTLP exporter requests (go.opentelemetry.io/otel/exporters/otlptrace/otlptracegrpc and go.opentelemetry.io/otel/exporters/otlptrace/otlptracehttp). (#3261)

    Changed

    • span.SetStatus has been updated such that calls that lower the status are now no-ops. (#3214)
    • Upgrade golang.org/x/sys/unix from v0.0.0-20210423185535-09eb48e85fd7 to v0.0.0-20220919091848-fb04ddd9f9c8. This addresses GO-2022-0493. (#3235)

    [0.32.2] Metric SDK (Alpha) - 2022-10-11

    Added

    • Added an example of using metric views to customize instruments. (#3177)
    • Add default User-Agent header to OTLP exporter requests (go.opentelemetry.io/otel/exporters/otlpmetric/otlpmetricgrpc and go.opentelemetry.io/otel/exporters/otlpmetric/otlpmetrichttp). (#3261)

    Changed

    • Flush pending measurements with the PeriodicReader in the go.opentelemetry.io/otel/sdk/metric when ForceFlush or Shutdown are called. (#3220)
    • Update histogram default bounds to match the requirements of the latest specification. (#3222)

    Fixed

    • Use default view if instrument does not match any registered view of a reader. (#3224, #3237)
    • Return the same instrument every time a user makes the exact same instrument creation call. (#3229, #3251)
    • Return the existing instrument when a view transforms a creation call to match an existing instrument. (#3240, #3251)
    • Log a warning when a conflicting instrument (e.g. description, unit, data-type) is created instead of returning an error. (#3251)
    • The OpenCensus bridge no longer sends empty batches of metrics. (#3263)

    [0.32.1] Metric SDK (Alpha) - 2022-09-22

    Changed

    • The Prometheus exporter sanitizes OpenTelemetry instrument names when exporting. Invalid characters are replaced with _. (#3212)

    Added

    • The metric portion of the OpenCensus bridge (go.opentelemetry.io/otel/bridge/opencensus) has been reintroduced. (#3192)
    • The OpenCensus bridge example (go.opentelemetry.io/otel/example/opencensus) has been reintroduced. (#3206)

    Fixed

    • Updated go.mods to point to valid versions of the sdk. (#3216)
    • Set the MeterProvider resource on all exported metric data. (#3218)

    [0.32.0] Revised Metric SDK (Alpha) - 2022-09-18

    ... (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)
    dependencies 
    opened by dependabot[bot] 1
  • chore(deps): bump go.opentelemetry.io/otel/trace from 1.10.0 to 1.11.0

    chore(deps): bump go.opentelemetry.io/otel/trace from 1.10.0 to 1.11.0

    Bumps go.opentelemetry.io/otel/trace from 1.10.0 to 1.11.0.

    Changelog

    Sourced from go.opentelemetry.io/otel/trace's changelog.

    [1.11.0/0.32.3] 2022-10-12

    Added

    • Add default User-Agent header to OTLP exporter requests (go.opentelemetry.io/otel/exporters/otlptrace/otlptracegrpc and go.opentelemetry.io/otel/exporters/otlptrace/otlptracehttp). (#3261)

    Changed

    • span.SetStatus has been updated such that calls that lower the status are now no-ops. (#3214)
    • Upgrade golang.org/x/sys/unix from v0.0.0-20210423185535-09eb48e85fd7 to v0.0.0-20220919091848-fb04ddd9f9c8. This addresses GO-2022-0493. (#3235)

    [0.32.2] Metric SDK (Alpha) - 2022-10-11

    Added

    • Added an example of using metric views to customize instruments. (#3177)
    • Add default User-Agent header to OTLP exporter requests (go.opentelemetry.io/otel/exporters/otlpmetric/otlpmetricgrpc and go.opentelemetry.io/otel/exporters/otlpmetric/otlpmetrichttp). (#3261)

    Changed

    • Flush pending measurements with the PeriodicReader in the go.opentelemetry.io/otel/sdk/metric when ForceFlush or Shutdown are called. (#3220)
    • Update histogram default bounds to match the requirements of the latest specification. (#3222)

    Fixed

    • Use default view if instrument does not match any registered view of a reader. (#3224, #3237)
    • Return the same instrument every time a user makes the exact same instrument creation call. (#3229, #3251)
    • Return the existing instrument when a view transforms a creation call to match an existing instrument. (#3240, #3251)
    • Log a warning when a conflicting instrument (e.g. description, unit, data-type) is created instead of returning an error. (#3251)
    • The OpenCensus bridge no longer sends empty batches of metrics. (#3263)

    [0.32.1] Metric SDK (Alpha) - 2022-09-22

    Changed

    • The Prometheus exporter sanitizes OpenTelemetry instrument names when exporting. Invalid characters are replaced with _. (#3212)

    Added

    • The metric portion of the OpenCensus bridge (go.opentelemetry.io/otel/bridge/opencensus) has been reintroduced. (#3192)
    • The OpenCensus bridge example (go.opentelemetry.io/otel/example/opencensus) has been reintroduced. (#3206)

    Fixed

    • Updated go.mods to point to valid versions of the sdk. (#3216)
    • Set the MeterProvider resource on all exported metric data. (#3218)

    [0.32.0] Revised Metric SDK (Alpha) - 2022-09-18

    ... (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)
    dependencies 
    opened by dependabot[bot] 1
  • chore(deps): bump github.com/zeromicro/go-zero from 1.3.4 to 1.3.5

    chore(deps): bump github.com/zeromicro/go-zero from 1.3.4 to 1.3.5

    Bumps github.com/zeromicro/go-zero from 1.3.4 to 1.3.5.

    Release notes

    Sourced from github.com/zeromicro/go-zero's releases.

    goctl/v1.3.5

    Features

    • Support nested importing in API files
    • Add go-grpc_opt, go_opt flag for cmd goctl rpc new on #1769 by @​chowyu12
    • Support go work multi-module on #1800 by @​fynxiu
    • Minor improvements

    Fix

    v1.3.5

    Features and Updates:

    1. add svr.PrintRoutes() to print registered routes in rest servers
    2. convert grpc errors to http status codes automatically
    3. support to disable builtin middlewares and use self-defined ones in rest
    4. add trace-id, span-id in httpc
    5. add TakeCtx in PeriodLimit
    6. minor improvements and bug fixes

    What's Changed

    New Contributors

    ... (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)
    dependencies 
    opened by dependabot[bot] 1
  • chore(deps): bump go.opentelemetry.io/otel from 1.7.0 to 1.8.0

    chore(deps): bump go.opentelemetry.io/otel from 1.7.0 to 1.8.0

    ⚠️ Dependabot is rebasing this PR ⚠️

    Rebasing might not happen immediately, so don't worry if this takes some time.

    Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


    Bumps go.opentelemetry.io/otel from 1.7.0 to 1.8.0.

    Changelog

    Sourced from go.opentelemetry.io/otel's changelog.

    [1.8.0/0.31.0] - 2022-07-08

    Added

    • Add support for opentracing.TextMap format in the Inject and Extract methods of the "go.opentelemetry.io/otel/bridge/opentracing".BridgeTracer type. (#2911)

    Changed

    • The crosslink make target has been updated to use the go.opentelemetry.io/build-tools/crosslink package. (#2886)
    • In the go.opentelemetry.io/otel/sdk/instrumentation package rename Library to Scope and alias Library as Scope (#2976)
    • Move metric no-op implementation form nonrecording to metric package. (#2866)

    Removed

    • Support for go1.16. Support is now only for go1.17 and go1.18 (#2917)

    Deprecated

    • The Library struct in the go.opentelemetry.io/otel/sdk/instrumentation package is deprecated. Use the equivalent Scope struct instead. (#2977)
    • The ReadOnlySpan.InstrumentationLibrary method from the go.opentelemetry.io/otel/sdk/trace package is deprecated. Use the equivalent ReadOnlySpan.InstrumentationScope method instead. (#2977)
    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 will merge this PR once it's up-to-date and CI passes on it, as requested by @chenquan.


    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)
    dependencies 
    opened by dependabot[bot] 1
  • chore(deps): bump go.opentelemetry.io/otel/trace from 1.7.0 to 1.8.0

    chore(deps): bump go.opentelemetry.io/otel/trace from 1.7.0 to 1.8.0

    Bumps go.opentelemetry.io/otel/trace from 1.7.0 to 1.8.0.

    Changelog

    Sourced from go.opentelemetry.io/otel/trace's changelog.

    [1.8.0/0.31.0] - 2022-07-08

    Added

    • Add support for opentracing.TextMap format in the Inject and Extract methods of the "go.opentelemetry.io/otel/bridge/opentracing".BridgeTracer type. (#2911)

    Changed

    • The crosslink make target has been updated to use the go.opentelemetry.io/build-tools/crosslink package. (#2886)
    • In the go.opentelemetry.io/otel/sdk/instrumentation package rename Library to Scope and alias Library as Scope (#2976)
    • Move metric no-op implementation form nonrecording to metric package. (#2866)

    Removed

    • Support for go1.16. Support is now only for go1.17 and go1.18 (#2917)

    Deprecated

    • The Library struct in the go.opentelemetry.io/otel/sdk/instrumentation package is deprecated. Use the equivalent Scope struct instead. (#2977)
    • The ReadOnlySpan.InstrumentationLibrary method from the go.opentelemetry.io/otel/sdk/trace package is deprecated. Use the equivalent ReadOnlySpan.InstrumentationScope method instead. (#2977)
    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)
    dependencies 
    opened by dependabot[bot] 1
  • chore(deps): bump github.com/apache/pulsar-client-go from 0.8.0 to 0.8.1

    chore(deps): bump github.com/apache/pulsar-client-go from 0.8.0 to 0.8.1

    Bumps github.com/apache/pulsar-client-go from 0.8.0 to 0.8.1.

    Release notes

    Sourced from github.com/apache/pulsar-client-go's releases.

    v0.8.1

    What's Changed

    New Contributors

    Full Changelog: https://github.com/apache/pulsar-client-go/compare/v0.8.0...v0.8.1

    Changelog

    Sourced from github.com/apache/pulsar-client-go's changelog.

    Pulsar-client-go Changelog

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

    [0.8.1] 2022-03-08

    What's Changed

    New Contributors

    @​shubham1172 made their first contribution in apache/pulsar-client-go#735 @​nicoloboschi made their first contribution in apache/pulsar-client-go#738

    [0.8.0] 2022-02-16

    What's Changed

    ... (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)
    dependencies 
    opened by dependabot[bot] 1
  • chore(deps): bump github.com/zeromicro/go-zero from 1.4.2 to 1.4.3

    chore(deps): bump github.com/zeromicro/go-zero from 1.4.2 to 1.4.3

    Bumps github.com/zeromicro/go-zero from 1.4.2 to 1.4.3.

    Release notes

    Sourced from github.com/zeromicro/go-zero's releases.

    goctl/v1.4.3

    What's Changed

    New Contributors

    Full Changelog: https://github.com/zeromicro/go-zero/compare/tools/goctl/v1.4.2...tools/goctl/v1.4.3

    v1.4.3

    What's Changed

    New Contributors

    ... (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)
    dependencies 
    opened by dependabot[bot] 0
  • chore(deps): bump github.com/beanstalkd/go-beanstalk from 0.1.0 to 0.2.0

    chore(deps): bump github.com/beanstalkd/go-beanstalk from 0.1.0 to 0.2.0

    Bumps github.com/beanstalkd/go-beanstalk from 0.1.0 to 0.2.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)
    dependencies 
    opened by dependabot[bot] 0
  • chore(deps): bump github.com/cespare/xxhash/v2 from 2.1.2 to 2.2.0

    chore(deps): bump github.com/cespare/xxhash/v2 from 2.1.2 to 2.2.0

    Bumps github.com/cespare/xxhash/v2 from 2.1.2 to 2.2.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)
    dependencies 
    opened by dependabot[bot] 0
  • chore(deps): bump go.opentelemetry.io/otel/trace from 1.11.1 to 1.11.2

    chore(deps): bump go.opentelemetry.io/otel/trace from 1.11.1 to 1.11.2

    Bumps go.opentelemetry.io/otel/trace from 1.11.1 to 1.11.2.

    Changelog

    Sourced from go.opentelemetry.io/otel/trace's changelog.

    [1.11.2/0.34.0] 2022-12-05

    Added

    • The WithView Option is added to the go.opentelemetry.io/otel/sdk/metric package. This option is used to configure the view(s) a MeterProvider will use for all Readers that are registered with it. (#3387)
    • Add Instrumentation Scope and Version as info metric and label in Prometheus exporter. This can be disabled using the WithoutScopeInfo() option added to that package.(#3273, #3357)
    • OTLP exporters now recognize: (#3363)
      • OTEL_EXPORTER_OTLP_INSECURE
      • OTEL_EXPORTER_OTLP_TRACES_INSECURE
      • OTEL_EXPORTER_OTLP_METRICS_INSECURE
      • OTEL_EXPORTER_OTLP_CLIENT_KEY
      • OTEL_EXPORTER_OTLP_TRACES_CLIENT_KEY
      • OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEY
      • OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE
      • OTEL_EXPORTER_OTLP_TRACES_CLIENT_CERTIFICATE
      • OTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATE
    • The View type and related NewView function to create a view according to the OpenTelemetry specification are added to go.opentelemetry.io/otel/sdk/metric. These additions are replacements for the View type and New function from go.opentelemetry.io/otel/sdk/metric/view. (#3459)
    • The Instrument and InstrumentKind type are added to go.opentelemetry.io/otel/sdk/metric. These additions are replacements for the Instrument and InstrumentKind types from go.opentelemetry.io/otel/sdk/metric/view. (#3459)
    • The Stream type is added to go.opentelemetry.io/otel/sdk/metric to define a metric data stream a view will produce. (#3459)
    • The AssertHasAttributes allows instrument authors to test that datapoints returned have appropriate attributes. (#3487)

    Changed

    • The "go.opentelemetry.io/otel/sdk/metric".WithReader option no longer accepts views to associate with the Reader. Instead, views are now registered directly with the MeterProvider via the new WithView option. The views registered with the MeterProvider apply to all Readers. (#3387)
    • The Temporality(view.InstrumentKind) metricdata.Temporality and Aggregation(view.InstrumentKind) aggregation.Aggregation methods are added to the "go.opentelemetry.io/otel/sdk/metric".Exporter interface. (#3260)
    • The Temporality(view.InstrumentKind) metricdata.Temporality and Aggregation(view.InstrumentKind) aggregation.Aggregation methods are added to the "go.opentelemetry.io/otel/exporters/otlp/otlpmetric".Client interface. (#3260)
    • The WithTemporalitySelector and WithAggregationSelector ReaderOptions have been changed to ManualReaderOptions in the go.opentelemetry.io/otel/sdk/metric package. (#3260)
    • The periodic reader in the go.opentelemetry.io/otel/sdk/metric package now uses the temporality and aggregation selectors from its configured exporter instead of accepting them as options. (#3260)

    Fixed

    • The go.opentelemetry.io/otel/exporters/prometheus exporter fixes duplicated _total suffixes. (#3369)
    • Remove comparable requirement for Readers. (#3387)
    • Cumulative metrics from the OpenCensus bridge (go.opentelemetry.io/otel/bridge/opencensus) are defined as monotonic sums, instead of non-monotonic. (#3389)
    • Asynchronous counters (Counter and UpDownCounter) from the metric SDK now produce delta sums when configured with delta temporality. (#3398)
    • Exported Status codes in the go.opentelemetry.io/otel/exporters/zipkin exporter are now exported as all upper case values. (#3340)
    • Aggregations from go.opentelemetry.io/otel/sdk/metric with no data are not exported. (#3394, #3436)
    • Reenabled Attribute Filters in the Metric SDK. (#3396)
    • Asynchronous callbacks are only called if they are registered with at least one instrument that does not use drop aggragation. (#3408)
    • Do not report empty partial-success responses in the go.opentelemetry.io/otel/exporters/otlp exporters. (#3438, #3432)
    • Handle partial success responses in go.opentelemetry.io/otel/exporters/otlp/otlpmetric exporters. (#3162, #3440)
    • Prevent duplicate Prometheus description, unit, and type. (#3469)
    • Prevents panic when using incorrect attribute.Value.As[Type]Slice(). (#3489)

    ... (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)
    dependencies 
    opened by dependabot[bot] 0
  • chore(deps): bump go.opentelemetry.io/otel from 1.11.1 to 1.11.2

    chore(deps): bump go.opentelemetry.io/otel from 1.11.1 to 1.11.2

    Bumps go.opentelemetry.io/otel from 1.11.1 to 1.11.2.

    Changelog

    Sourced from go.opentelemetry.io/otel's changelog.

    [1.11.2/0.34.0] 2022-12-05

    Added

    • The WithView Option is added to the go.opentelemetry.io/otel/sdk/metric package. This option is used to configure the view(s) a MeterProvider will use for all Readers that are registered with it. (#3387)
    • Add Instrumentation Scope and Version as info metric and label in Prometheus exporter. This can be disabled using the WithoutScopeInfo() option added to that package.(#3273, #3357)
    • OTLP exporters now recognize: (#3363)
      • OTEL_EXPORTER_OTLP_INSECURE
      • OTEL_EXPORTER_OTLP_TRACES_INSECURE
      • OTEL_EXPORTER_OTLP_METRICS_INSECURE
      • OTEL_EXPORTER_OTLP_CLIENT_KEY
      • OTEL_EXPORTER_OTLP_TRACES_CLIENT_KEY
      • OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEY
      • OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE
      • OTEL_EXPORTER_OTLP_TRACES_CLIENT_CERTIFICATE
      • OTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATE
    • The View type and related NewView function to create a view according to the OpenTelemetry specification are added to go.opentelemetry.io/otel/sdk/metric. These additions are replacements for the View type and New function from go.opentelemetry.io/otel/sdk/metric/view. (#3459)
    • The Instrument and InstrumentKind type are added to go.opentelemetry.io/otel/sdk/metric. These additions are replacements for the Instrument and InstrumentKind types from go.opentelemetry.io/otel/sdk/metric/view. (#3459)
    • The Stream type is added to go.opentelemetry.io/otel/sdk/metric to define a metric data stream a view will produce. (#3459)
    • The AssertHasAttributes allows instrument authors to test that datapoints returned have appropriate attributes. (#3487)

    Changed

    • The "go.opentelemetry.io/otel/sdk/metric".WithReader option no longer accepts views to associate with the Reader. Instead, views are now registered directly with the MeterProvider via the new WithView option. The views registered with the MeterProvider apply to all Readers. (#3387)
    • The Temporality(view.InstrumentKind) metricdata.Temporality and Aggregation(view.InstrumentKind) aggregation.Aggregation methods are added to the "go.opentelemetry.io/otel/sdk/metric".Exporter interface. (#3260)
    • The Temporality(view.InstrumentKind) metricdata.Temporality and Aggregation(view.InstrumentKind) aggregation.Aggregation methods are added to the "go.opentelemetry.io/otel/exporters/otlp/otlpmetric".Client interface. (#3260)
    • The WithTemporalitySelector and WithAggregationSelector ReaderOptions have been changed to ManualReaderOptions in the go.opentelemetry.io/otel/sdk/metric package. (#3260)
    • The periodic reader in the go.opentelemetry.io/otel/sdk/metric package now uses the temporality and aggregation selectors from its configured exporter instead of accepting them as options. (#3260)

    Fixed

    • The go.opentelemetry.io/otel/exporters/prometheus exporter fixes duplicated _total suffixes. (#3369)
    • Remove comparable requirement for Readers. (#3387)
    • Cumulative metrics from the OpenCensus bridge (go.opentelemetry.io/otel/bridge/opencensus) are defined as monotonic sums, instead of non-monotonic. (#3389)
    • Asynchronous counters (Counter and UpDownCounter) from the metric SDK now produce delta sums when configured with delta temporality. (#3398)
    • Exported Status codes in the go.opentelemetry.io/otel/exporters/zipkin exporter are now exported as all upper case values. (#3340)
    • Aggregations from go.opentelemetry.io/otel/sdk/metric with no data are not exported. (#3394, #3436)
    • Reenabled Attribute Filters in the Metric SDK. (#3396)
    • Asynchronous callbacks are only called if they are registered with at least one instrument that does not use drop aggragation. (#3408)
    • Do not report empty partial-success responses in the go.opentelemetry.io/otel/exporters/otlp exporters. (#3438, #3432)
    • Handle partial success responses in go.opentelemetry.io/otel/exporters/otlp/otlpmetric exporters. (#3162, #3440)
    • Prevent duplicate Prometheus description, unit, and type. (#3469)
    • Prevents panic when using incorrect attribute.Value.As[Type]Slice(). (#3489)

    ... (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)
    dependencies 
    opened by dependabot[bot] 0
Releases(v0.4.5)
  • v0.4.5(Dec 15, 2022)

    What's Changed

    • chore(deps): bump github.com/beanstalkd/go-beanstalk from 0.1.0 to 0.2.0 by @dependabot in https://github.com/chenquan/go-queue/pull/73
    • chore(deps): bump github.com/zeromicro/go-zero from 1.4.2 to 1.4.3 by @dependabot in https://github.com/chenquan/go-queue/pull/74

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.4.4...v0.4.5

    Source code(tar.gz)
    Source code(zip)
  • v0.4.4(Dec 5, 2022)

    What's Changed

    • chore(deps): bump github.com/cespare/xxhash/v2 from 2.1.2 to 2.2.0 by @dependabot in https://github.com/chenquan/go-queue/pull/70

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.4.3...v0.4.4

    Source code(tar.gz)
    Source code(zip)
  • v0.4.3(Nov 9, 2022)

    What's Changed

    • chore(deps): bump github.com/segmentio/kafka-go from 0.4.36 to 0.4.38 by @dependabot in https://github.com/chenquan/go-queue/pull/69

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.4.2...v0.4.3

    Source code(tar.gz)
    Source code(zip)
  • v0.4.2(Nov 3, 2022)

    What's Changed

    • chore(deps): bump github.com/segmentio/kafka-go from 0.4.35 to 0.4.36 by @dependabot in https://github.com/chenquan/go-queue/pull/68

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.4.1...v0.4.2

    Source code(tar.gz)
    Source code(zip)
  • v0.4.1(Oct 24, 2022)

    What's Changed

    • chore(deps): bump github.com/apache/pulsar-client-go from 0.8.1 to 0.9.0 by @dependabot in https://github.com/chenquan/go-queue/pull/62
    • chore(deps): bump go.opentelemetry.io/otel from 1.10.0 to 1.11.1 by @dependabot in https://github.com/chenquan/go-queue/pull/66
    • chore(deps): bump go.opentelemetry.io/otel/trace from 1.10.0 to 1.11.1 by @dependabot in https://github.com/chenquan/go-queue/pull/65
    • chore(deps): bump github.com/zeromicro/go-zero from 1.4.1 to 1.4.2 by @dependabot in https://github.com/chenquan/go-queue/pull/67

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.4.0...v0.4.1

    Source code(tar.gz)
    Source code(zip)
  • v0.4.0(Oct 8, 2022)

    What's Changed

    • feat(kafka): supports setting the interval and chunk size for asynchr… by @chenquan in https://github.com/chenquan/go-queue/pull/61

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.3.4...v0.4.0

    Source code(tar.gz)
    Source code(zip)
  • v0.3.4(Sep 19, 2022)

    What's Changed

    • chore(deps): bump github.com/zeromicro/go-zero from 1.4.0 to 1.4.1 by @dependabot in https://github.com/chenquan/go-queue/pull/60

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.3.3...v0.3.4

    Source code(tar.gz)
    Source code(zip)
  • v0.3.3(Sep 17, 2022)

    What's Changed

    • chore(deps): bump go.opentelemetry.io/otel/trace from 1.9.0 to 1.10.0 by @dependabot in https://github.com/chenquan/go-queue/pull/59
    • chore(deps): bump go.opentelemetry.io/otel from 1.9.0 to 1.10.0 by @dependabot in https://github.com/chenquan/go-queue/pull/58

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.3.2...v0.3.3

    Source code(tar.gz)
    Source code(zip)
  • v0.3.2(Sep 13, 2022)

    What's Changed

    • chore(deps): bump github.com/segmentio/kafka-go from 0.4.34 to 0.4.35 by @dependabot in https://github.com/chenquan/go-queue/pull/57

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.3.1...v0.3.2

    Source code(tar.gz)
    Source code(zip)
  • v0.3.1(Aug 18, 2022)

    What's Changed

    • chore(deps): bump github.com/segmentio/kafka-go from 0.4.33 to 0.4.34 by @dependabot in https://github.com/chenquan/go-queue/pull/56

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.3.0...v0.3.1

    Source code(tar.gz)
    Source code(zip)
  • v0.3.0(Aug 9, 2022)

    What's Changed

    • feat(kafka): cross-system link tracking by @chenquan in https://github.com/chenquan/go-queue/pull/55

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.2.2...v0.3.0

    Source code(tar.gz)
    Source code(zip)
  • v0.2.2(Aug 8, 2022)

    What's Changed

    • chore(deps): bump github.com/zeromicro/go-zero from 1.3.5 to 1.4.0 by @dependabot in https://github.com/chenquan/go-queue/pull/54

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.2.1...v0.2.2

    Source code(tar.gz)
    Source code(zip)
  • v0.2.1(Aug 5, 2022)

    What's Changed

    • chore(deps): bump go.opentelemetry.io/otel/trace from 1.8.0 to 1.9.0 by @dependabot in https://github.com/chenquan/go-queue/pull/52
    • chore(deps): bump go.opentelemetry.io/otel from 1.8.0 to 1.9.0 by @dependabot in https://github.com/chenquan/go-queue/pull/51

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.2.0...v0.2.1

    Source code(tar.gz)
    Source code(zip)
  • v0.2.0(Aug 5, 2022)

    What's Changed

    • feat(kafka): async send by @chenquan in https://github.com/chenquan/go-queue/pull/53

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.1.8...v0.2.0

    Source code(tar.gz)
    Source code(zip)
  • v0.1.8(Aug 3, 2022)

    What's Changed

    • chore: upgrade orderhash version by @chenquan in https://github.com/chenquan/go-queue/pull/49
    • chore(deps): bump github.com/segmentio/kafka-go from 0.4.32 to 0.4.33 by @dependabot in https://github.com/chenquan/go-queue/pull/48
    • feat(kafka): add stat in pusher by @chenquan in https://github.com/chenquan/go-queue/pull/50

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.1.7...v0.1.8

    Source code(tar.gz)
    Source code(zip)
  • v0.1.7(Jul 28, 2022)

    What's Changed

    • fix(kafka): fix trace by @chenquan in https://github.com/chenquan/go-queue/pull/45
    • perf(kafka): improve kafka consumer performance by @chenquan in https://github.com/chenquan/go-queue/pull/46, https://github.com/chenquan/go-queue/pull/47

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.1.6...v0.1.7

    Source code(tar.gz)
    Source code(zip)
  • v0.1.6(Jul 20, 2022)

    What's Changed

    • feat(kafka): add batchSize and batchBytes by @chenquan in https://github.com/chenquan/go-queue/pull/42
    • feat(kafka): add requiredAcks by @chenquan in https://github.com/chenquan/go-queue/pull/43
    • feat(kafka): remove sync by @chenquan in https://github.com/chenquan/go-queue/pull/44

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.1.5...v0.1.6

    Source code(tar.gz)
    Source code(zip)
  • v0.1.5(Jul 19, 2022)

    What's Changed

    • chore(kafka): topic are automatically created by default by @chenquan in https://github.com/chenquan/go-queue/pull/40

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.1.4...v0.1.5

    Source code(tar.gz)
    Source code(zip)
  • v0.1.4(Jul 19, 2022)

    What's Changed

    • chore(deps): bump github.com/zeromicro/go-zero from 1.3.4 to 1.3.5 by @dependabot in https://github.com/chenquan/go-queue/pull/35
    • feat(kafka): add XXHashBalancer balancer by @chenquan in https://github.com/chenquan/go-queue/pull/37
    • fix(kafka): get header from context by @chenquan in https://github.com/chenquan/go-queue/pull/38
    • chore(kafka): no export headerKey by @chenquan in https://github.com/chenquan/go-queue/pull/39

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.1.3...v0.1.4

    Source code(tar.gz)
    Source code(zip)
  • v0.1.3(Jul 12, 2022)

    What's Changed

    • feat(kafka): custom balancer by @chenquan in https://github.com/chenquan/go-queue/pull/36

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.1.2...v0.1.3

    Source code(tar.gz)
    Source code(zip)
  • v0.1.2(Jul 11, 2022)

    What's Changed

    • fix(kafka): fix consumption error by @chenquan in https://github.com/chenquan/go-queue/pull/34

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.1.1...v0.1.2

    Source code(tar.gz)
    Source code(zip)
  • v0.1.1(Jul 9, 2022)

    What's Changed

    • chore: reformat code by @chenquan in https://github.com/chenquan/go-queue/pull/26
    • chore: reformat code by @chenquan in https://github.com/chenquan/go-queue/pull/27
    • chore(action): add dependabot by @chenquan in https://github.com/chenquan/go-queue/pull/28
    • chore(deps): bump github.com/segmentio/kafka-go from 0.4.28 to 0.4.32 by @dependabot in https://github.com/chenquan/go-queue/pull/29
    • chore(deps): bump go.opentelemetry.io/otel/trace from 1.7.0 to 1.8.0 by @dependabot in https://github.com/chenquan/go-queue/pull/31
    • chore(deps): bump go.opentelemetry.io/otel from 1.7.0 to 1.8.0 by @dependabot in https://github.com/chenquan/go-queue/pull/32
    • chore(deps): bump github.com/apache/pulsar-client-go from 0.8.0 to 0.8.1 by @dependabot in https://github.com/chenquan/go-queue/pull/30
    • chore(kafka): remove invalid code by @chenquan in https://github.com/chenquan/go-queue/pull/33

    New Contributors

    • @dependabot made their first contribution in https://github.com/chenquan/go-queue/pull/29

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.1.0...v0.1.1

    Source code(tar.gz)
    Source code(zip)
  • v0.1.0(Jul 9, 2022)

    What's Changed

    • feat(kafka): sequential consumption by @chenquan in https://github.com/chenquan/go-queue/pull/25

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.0.12...v0.1.0

    Source code(tar.gz)
    Source code(zip)
  • v0.0.12(Jul 7, 2022)

    What's Changed

    • feat(kafka): supports completion function by @chenquan in https://github.com/chenquan/go-queue/pull/24

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.0.11...v0.0.12

    Source code(tar.gz)
    Source code(zip)
  • v0.0.11(Jun 28, 2022)

    What's Changed

    • fix: kafka async push by @chenquan in https://github.com/chenquan/go-queue/pull/21
    • feat: kafka supports tracing by @chenquan in https://github.com/chenquan/go-queue/pull/22

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.0.10...v0.0.11

    Source code(tar.gz)
    Source code(zip)
  • v0.0.10(Jun 27, 2022)

    What's Changed

    • feat: support kafka header by @chenquan in https://github.com/chenquan/go-queue/pull/20

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.0.9...v0.0.10

    Source code(tar.gz)
    Source code(zip)
  • v0.0.9(Jun 24, 2022)

    What's Changed

    • feat: optimize code by @chenquan in https://github.com/chenquan/go-queue/pull/19

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.0.8...v0.0.9

    Source code(tar.gz)
    Source code(zip)
  • v0.0.8(Jun 4, 2022)

    What's Changed

    • chore: upgrade go-zero version by @chenquan in https://github.com/chenquan/go-queue/pull/17
    • chore: upgrade go-zero version by @chenquan in https://github.com/chenquan/go-queue/pull/18

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.0.7...v0.0.8

    Source code(tar.gz)
    Source code(zip)
  • v0.0.7(Apr 8, 2022)

    What's Changed

    • chore: update go-zero version by @chenquan in https://github.com/chenquan/go-queue/pull/15

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.0.6...v0.0.7

    Source code(tar.gz)
    Source code(zip)
  • v0.0.6(Feb 27, 2022)

    What's Changed

    • refactor(kafka): optimize code by @chenquan in https://github.com/chenquan/go-queue/pull/13
    • feat: Add WithSync() queue.CallOptions by @chenquan in https://github.com/chenquan/go-queue/pull/14

    Full Changelog: https://github.com/chenquan/go-queue/compare/v0.0.5...v0.0.6

    Source code(tar.gz)
    Source code(zip)
Owner
chenquan
developer
chenquan
golang long polling library. Makes web pub-sub easy via HTTP long-poll server :smiley: :coffee: :computer:

golongpoll Golang long polling library. Makes web pub-sub easy via an HTTP long-poll server. New in v1.1 Deprecated CreateManager and CreateCustomMana

J Cuga 620 Jan 6, 2023
nanoQ — high-performance brokerless Pub/Sub for streaming real-time data

nanoQ — high-performance brokerless Pub/Sub for streaming real-time data nanoQ is a very minimalistic (opinionated/limited) Pub/Sub transport library.

Aigent 149 Nov 9, 2022
Simple synchronous event pub-sub package for Golang

event-go Simple synchronous event pub-sub package for Golang This is a Go language package for publishing/subscribing domain events. This is useful to

itchyny 19 Jun 16, 2022
ntfy is a super simple pub-sub notification service. It allows you to send desktop notifications via scripts.

ntfy ntfy (pronounce: notify) is a super simple pub-sub notification service. It allows you to send desktop and (soon) phone notifications via scripts

Philipp C. Heckel 8.9k Jan 9, 2023
A basic pub-sub project using NATS

NATS Simple Pub-Sub Mechanism This is a basic pub-sub project using NATS. There is one publisher who publishes a "Hello World" message to a subject ca

Prosonul Haque 1 Dec 13, 2021
Simple-messaging - Brokerless messaging. Pub/Sub. Producer/Consumer. Pure Go. No C.

Simple Messaging Simple messaging for pub/sub and producer/consumer. Pure Go! Usage Request-Response Producer: consumerAddr, err := net.ResolveTCPAddr

IchHabeKeineNamen 1 Jan 20, 2022
A simple in-process pub/sub for golang

go-pub-sub A simple in-process pub/sub for golang Motivation Call it somewhere between "I spent no more than 5 minutes looking for one that existed" a

Ryan Catherman 0 Jan 25, 2022
CLI tool for generating random messages with rules & publishing to the cloud services (SQS,SNS,PUB/SUB and etc.)

Randomsg A CLI tool to generate random messages and publish to cloud services like (SQS,SNS,PUB/SUB and etc.). TODO Generation of nested objects is no

Kerem Dokumacı 6 Sep 22, 2022
Apache Pulsar Go Client Library

Apache Pulsar Go Client Library A Go client library for the Apache Pulsar project. Goal This projects is developing a pure-Go client library for Pulsa

The Apache Software Foundation 525 Jan 4, 2023
provider-kafka is a Crossplane Provider that is used to manage Kafka resources.

provider-kafka provider-kafka is a Crossplane Provider that is used to manage Kafka resources. Usage Create a provider secret containing a json like t

Crossplane Contrib 18 Oct 29, 2022
A CLI tool for interacting with Kafka through the Confluent Kafka Rest Proxy

kafkactl Table of contents kafkactl Table of contents Overview Build Development Overview kafkactl is a CLI tool to interact with Kafka through the Co

Alexandre Barone 0 Nov 1, 2021
Confluent's Apache Kafka Golang client

Confluent's Golang Client for Apache KafkaTM confluent-kafka-go is Confluent's Golang client for Apache Kafka and the Confluent Platform. Features: Hi

Confluent Inc. 3.7k Dec 30, 2022
Sarama is a Go library for Apache Kafka 0.8, and up.

sarama Sarama is an MIT-licensed Go client library for Apache Kafka version 0.8 (and later). Getting started API documentation and examples are availa

Shopify 9.5k Jan 1, 2023
Implementation of the NELI leader election protocol for Go and Kafka

goNELI Implementation of the NELI leader election protocol for Go and Kafka. goNELI encapsulates the 'fast' variation of the protocol, running in excl

Obsidian Dynamics 59 Dec 8, 2022
ChanBroker, a Broker for goroutine, is simliar to kafka

Introduction chanbroker, a Broker for goroutine, is simliar to kafka In chanbroker has three types of goroutine: Producer Consumer(Subscriber) Broker

沉风 61 Aug 12, 2021
Apache Kafka Web UI for exploring messages, consumers, configurations and more with a focus on a good UI & UX.

Kowl - Apache Kafka Web UI Kowl (previously known as Kafka Owl) is a web application that helps you to explore messages in your Apache Kafka cluster a

CloudHut 2.9k Jan 3, 2023
franz-go contains a high performance, pure Go library for interacting with Kafka from 0.8.0 through 2.7.0+. Producing, consuming, transacting, administrating, etc.

franz-go - Apache Kafka client written in Go Franz-go is an all-encompassing Apache Kafka client fully written Go. This library aims to provide every

Travis Bischel 865 Dec 29, 2022
Modern CLI for Apache Kafka, written in Go.

Kaf Kafka CLI inspired by kubectl & docker Install Install from source: go get -u github.com/birdayz/kaf/cmd/kaf Install binary: curl https://raw.git

Johannes Brüderl 1.8k Dec 31, 2022
Easy to use distributed event bus similar to Kafka

chukcha Easy to use distributed event bus similar to Kafka. The event bus is designed to be used as a persistent intermediate storage buffer for any k

Yuriy Nasretdinov 81 Dec 30, 2022