profile
viewpoint
Daniel Selans dselans Batch Portland, OR https://batch.sh Plumbing queues and streams (mostly in Go)

9corp/9volt 159

A modern, distributed monitoring system written in Go

dselans/dmidecode 27

dmidecode parser lib in Go

dselans/goroq 1

Get your test on, without any bells or whistles

dselans/gots 1

A crude timestamp manipulation CLI utility

dselans/pyhotline 1

A DIY solution to on-call using Asterisk

dselans/sql-migrate 1

SQL schema migration tool for Go.

dselans/2017-talks 0

Slides and links for 2017 talks

dselans/awesome-go 0

A curated list of awesome Go frameworks, libraries and software

dselans/concourse-dcind 0

Docker in Docker container optimized for use with Concourse CI

dselans/docker 0

Docker - the open-source application container engine

PullRequestReviewEvent
PullRequestReviewEvent

startedpaulbellamy/ratecounter

started time in 2 days

startedsegmentio/kafka-go

started time in 3 days

Pull request review commentbatchcorp/plumber

ActiveMQ (STOMP) support

+package cli++import (+	"gopkg.in/alecthomas/kingpin.v2"+)++type ActiveMqOptions struct {+	// Shared+	Address  string+	Topic    string+	Queue    string+	ClientId string++	// Read+	ReadFollow bool+}++func HandleActiveMqFlags(readCmd, writeCmd *kingpin.CmdClause, opts *Options) {+	rc := readCmd.Command("activemq", "ActiveMQ STOMP")+	addSharedActiveMqFlags(rc, opts)++	wc := writeCmd.Command("activemq", "ActiveMQ STOMP")+	addSharedActiveMqFlags(wc, opts)+}++func addSharedActiveMqFlags(cmd *kingpin.CmdClause, opts *Options) {+	cmd.Flag("address", "Destination host address").Default("tcp://localhost:61613").StringVar(&opts.ActiveMq.Address)+	cmd.Flag("topic", "Topic to read message(s) from").StringVar(&opts.ActiveMq.Topic)+	cmd.Flag("queue", "Topic to read message(s) from").StringVar(&opts.ActiveMq.Queue)
	cmd.Flag("queue", "Queue to read message(s) from").StringVar(&opts.ActiveMq.Queue)
blinktag

comment created time in 5 days

PullRequestReviewEvent

Pull request review commentbatchcorp/plumber

ActiveMQ (STOMP) support

+package activemq++import (+	"github.com/go-stomp/stomp"+	"github.com/jhump/protoreflect/desc"+	"github.com/pkg/errors"+	"github.com/sirupsen/logrus"++	"github.com/batchcorp/plumber/cli"+)++type ActiveMq struct {+	Options *cli.Options+	Client  *stomp.Conn+	MsgDesc *desc.MessageDescriptor+	log     *logrus.Entry+}++// NewClient returns a configured instance of stomp.Conn+func NewClient(opts *cli.Options) (*stomp.Conn, error) {+	o := func(*stomp.Conn) error {+		return nil+	}++	conn, err := stomp.Dial("tcp", "localhost:61613", o)

This should be dialing the opts field.

blinktag

comment created time in 5 days

PullRequestReviewEvent
PullRequestReviewEvent

issue commentevildecay/etcdkeeper

404 for http://localhost:8080/etcdkeeper

etcdkeeper does not bundle the assets in the binary - you must start the binary from the same directory that contains the assets dir.

@yudar1024 it looks like you're starting the app from ~ - does that dir also contain assets?

yudar1024

comment created time in 6 days

PullRequestReviewEvent

delete branch batchcorp/plumber

delete branch : dselans/app-id-consumer-tag

delete time in 6 days

push eventbatchcorp/plumber

Daniel Selans

commit sha 7666e68323f7327c970bb60ea59073b98da58051

app-id & consumer-tag; updated rabbit lib; fix flags

view details

Daniel Selans

commit sha 0a213e4d9deb2c9895ab3800127f02f84c230f3d

Merge pull request #41 from batchcorp/dselans/app-id-consumer-tag app-id & consumer-tag; updated rabbit lib; fix flags

view details

push time in 6 days

PR opened batchcorp/plumber

app-id & consumer-tag; updated rabbit lib; fix flags

@blinktag

+880 -11

0 comment

15 changed files

pr created time in 6 days

create barnchbatchcorp/plumber

branch : dselans/app-id-consumer-tag

created branch time in 6 days

PullRequestReviewEvent

startedmichaelklishin/rabbit-hole

started time in 8 days

Pull request review commentbatchcorp/plumber

Cleanup of reading code

 func (g *GCPPubSub) Read() error { 			defer msg.Ack() 		} -		if g.Options.GCPPubSub.ReadOutputType == "protobuf" {

❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️

blinktag

comment created time in 9 days

PullRequestReviewEvent
PullRequestReviewEvent

delete branch batchcorp/rabbit

delete branch : dselans/add-identifiers

delete time in 11 days

push eventbatchcorp/rabbit

Daniel Selans

commit sha cee68218c3c9e272a768cfdcb59055b54814be4f

added configurable AppID and ConsumerTag

view details

Daniel Selans

commit sha 57961d05594a3e898ad0631530b5c9762faf2286

Merge pull request #4 from batchcorp/dselans/add-identifiers added configurable AppID and ConsumerTag

view details

push time in 11 days

PR opened batchcorp/rabbit

added configurable AppID and ConsumerTag
+46 -7

0 comment

2 changed files

pr created time in 11 days

create barnchbatchcorp/rabbit

branch : dselans/add-identifiers

created branch time in 11 days

Pull request review commentbatchcorp/plumber

Functional tests for Mosquitto

 func Write(opts *cli.Options) error { 		Options: opts, 		Client:  client, 		MsgDesc: md,-		log:     logrus.WithField("pkg", "rabbitmq/write.go"),+		log:     logrus.WithField("pkg", "mqtt/write.go"),

thank you 😄

blinktag

comment created time in 12 days

Pull request review commentbatchcorp/plumber

Functional tests for Mosquitto

 func Read(opts *cli.Options) error { 		Options: opts, 		MsgDesc: md, 		Client:  client,-		log:     logrus.WithField("pkg", "rabbitmq/read.go"),+		log:     logrus.WithField("pkg", "gcp-pubsub/read.go"),

🤦

blinktag

comment created time in 12 days

PullRequestReviewEvent
PullRequestReviewEvent

issue closedbatchcorp/plumber

Support for Avro

Support avro messages

closed time in 12 days

alok87

issue commentbatchcorp/plumber

Support for Avro

Bad ass!

alok87

comment created time in 12 days

pull request commentbatchcorp/plumber

AVRO Support

We chatted about the repetition - we'll address that in a separate PR.

Nicely done @blinktag !

blinktag

comment created time in 13 days

PullRequestReviewEvent

issue commentKong/insomnia

Allow pulling / pushing to repositories with existing content

Hi folks, any update on this?

My current workaround for syncing API spec with an existing repo (using github):

  1. Import spec via file
  2. Create a temp repo
  3. Setup git sync in Insomnia Designer with new repo
  4. Commit and push to temp repo
  5. Clone temp repo
  6. Grab .insomnia dir from temp repo and move to your existing repo
  7. Commit and push in existing repo
  8. Open Insomnia designer and create new spec by importing from existing repo

^ I'm sure there's a simpler/quicker way, but this worked first try 🤷

nijikokun

comment created time in 15 days

issue closedbatchcorp/plumber

Listen to Kafka cluster messages

Hello, is there any way to listen messages from one of the instances from Kafka cluster? I tried with

./plumber-linux -d read message kafka --topic=my-topic-name --address=one.of.the.nodes:9092 

but I get message:

INFO[0000] Initializing (could take a minute or two) ...  pkg=kafka/read.go

Nothing happens even after 10 minutes

closed time in 17 days

rasklaad

issue commentbatchcorp/plumber

Listen to Kafka cluster messages

Closing this for now. Please provide version info :)

rasklaad

comment created time in 17 days

delete branch batchcorp/rabbit

delete branch : dselans/close

delete time in 17 days

push eventbatchcorp/rabbit

Daniel Selans

commit sha ce57e7a4a3d926e02928d11ff1b30299dfca37a3

Added Close() method Expanded on some tests (and filled in missing tests)

view details

Daniel Selans

commit sha 23c5e0039dce1b531342967052e9765cdb0bbc33

remove unused funcs

view details

Daniel Selans

commit sha 584c45f2c56f0f78ddb653cf3d42da0aae23732c

removing unused imports

view details

Daniel Selans

commit sha 1f6c4855d284e9d0b883eff86307537c3c2a6352

Merge pull request #3 from batchcorp/dselans/close Added Close() method

view details

push time in 17 days

PR merged batchcorp/rabbit

Added Close() method

Expanded on some tests (and filled in missing tests)

+147 -3

0 comment

2 changed files

dselans

pr closed time in 17 days

push eventbatchcorp/rabbit

Daniel Selans

commit sha 584c45f2c56f0f78ddb653cf3d42da0aae23732c

removing unused imports

view details

push time in 17 days

push eventbatchcorp/rabbit

Daniel Selans

commit sha 23c5e0039dce1b531342967052e9765cdb0bbc33

remove unused funcs

view details

push time in 17 days

PR opened batchcorp/rabbit

Added Close() method

Expanded on some tests (and filled in missing tests)

+174 -3

0 comment

2 changed files

pr created time in 17 days

create barnchbatchcorp/rabbit

branch : dselans/close

created branch time in 17 days

issue commentbatchcorp/plumber

Support to specify multiple directories via `--protobuf-dir`

Yep, totally, --protobuf-dir-remap makes sense to me. Let me give it a spin over the weekend - should be simple :)

arunk-s

comment created time in 18 days

delete branch batchcorp/plumber

delete branch : blinktag/functional_tests_ci

delete time in 19 days

startedapache/drill

started time in 19 days

IssuesEvent

issue commentbatchcorp/plumber

Support to specify multiple directories via `--protobuf-dir`

Hey Arunk! Thanks for the thorough reply and for the insight & research - super helpful.

Everything you found makes sense and it sounds like you found a workaround, even if it's not very elegant.

As for protoc-like module mapping - maybe we could introduce some method to strip part of the path for --protobuf-dir? I'm thinking something like --protobuf-dir-rewrite 'vendor/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/google/api google/api'?

That way, plumber would still use the correct paths for searching for proto files and protoparse won't freak out.

That doesn't seem like a big lift.

arunk-s

comment created time in 19 days

PullRequestReviewEvent

Pull request review commentbatchcorp/plumber

Adding functional tests to CI

 jobs:       - name: Master buld tests         run: |           make test   +  functional:+    name: Run functional tests+    runs-on: ubuntu-latest+    steps:+      - uses: actions/checkout@v2+      - name: Start up dependencies+        run: docker-compose up -d+      - name: Wait for dependencies to start up+        uses: jakejarvis/wait-action@master+        with:+          time: '30s'+      - name: Test+        env:+          AWS_REGION: us-west-2+          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}

Which key/access id is this?

blinktag

comment created time in 19 days

PullRequestReviewEvent
PullRequestReviewEvent

delete branch batchcorp/plumber

delete branch : blinktag/sqs_functional_tests

delete time in 20 days

Pull request review commentbatchcorp/plumber

Adding functional tests for SQS

 var _ = Describe("Functional", func() { 			}) 		}) 	})++	Describe("AWS SQS", func() {++		// Get secrets somehow+		var queueName string++		BeforeEach(func() {

I think this BeforeEach and AfterEach has to be inside the Describe block further below - otherwise, you will have both test cases writing and reading from the same queue and potentially run into a race (causing the test to be flakey).

blinktag

comment created time in 20 days

Pull request review commentbatchcorp/plumber

Adding functional tests for SQS

 var _ = Describe("Functional", func() { 			}) 		}) 	})++	Describe("AWS SQS", func() {++		// Get secrets somehow+		var queueName string++		BeforeEach(func() {+			queueName = fmt.Sprintf("FunctionalTestQueue%d", rand.Int())+			err := createSqsQueue(queueName)+			if err != nil {

Any reason why not just Expect(err).ToNot(HaveOccurred())?

blinktag

comment created time in 20 days

PullRequestReviewEvent
PullRequestReviewEvent

startednamely/docker-protoc

started time in 20 days

startedjaegertracing/docker-protobuf

started time in 20 days

PullRequestReviewEvent

startedozonru/etcd

started time in 21 days

startedswdee/etcdc

started time in 21 days

PullRequestReviewEvent

issue commentbatchcorp/plumber

Support to specify multiple directories via `--protobuf-dir`

@arunk-s can you test out the release and see if it addresses the issue you had?

arunk-s

comment created time in 22 days

PullRequestReviewEvent
PullRequestReviewEvent

delete branch batchcorp/rabbit

delete branch : dselans/run-modes

delete time in 22 days

push eventbatchcorp/rabbit

Daniel Selans

commit sha 052db4e3e62c0a568955b50e32271551ea5def53

run modes

view details

Daniel Selans

commit sha a406cd9b5b5fa7af865c396d8edef7a9b7b466e0

Merge pull request #2 from batchcorp/dselans/run-modes run modes

view details

push time in 22 days

PR opened batchcorp/rabbit

run modes

@blinktag

+49 -22

0 comment

1 changed file

pr created time in 22 days

create barnchbatchcorp/rabbit

branch : dselans/run-modes

created branch time in 22 days

delete branch batchcorp/plumber

delete branch : dselans/sqs-account-id

delete time in 22 days

push eventbatchcorp/plumber

Daniel Selans

commit sha 2678973cd71cc96e91bc587bba205871259955cd

add remote account id for sqs

view details

Daniel Selans

commit sha 5f1d703f22796cbf3e27573a290acc82ca1ad148

Merge pull request #31 from batchcorp/dselans/sqs-account-id add remote account id for sqs

view details

push time in 22 days

PR merged batchcorp/plumber

add remote account id for sqs

@blinktag

+17 -6

0 comment

2 changed files

dselans

pr closed time in 22 days

PR opened batchcorp/plumber

add remote account id for sqs

@blinktag

+17 -6

0 comment

2 changed files

pr created time in 22 days

create barnchbatchcorp/plumber

branch : dselans/sqs-account-id

created branch time in 22 days

Pull request review commentbatchcorp/plumber

Integrating batchcorp/rabbit for relay reconnect support

 func Write(opts *cli.Options) error { 		} 	} -	ch, err := connect(opts)-	if err != nil {-		return errors.Wrap(err, "unable to complete initial connect")-	}+	r, err := New(opts, md) -	r := &RabbitMQ{-		Options: opts,-		Channel: ch,-		MsgDesc: md,-		log:     logrus.WithField("pkg", "rabbitmq/write.go"),+	if err != nil {+		return err

errors.Wrap()

blinktag

comment created time in 22 days

Pull request review commentbatchcorp/plumber

Integrating batchcorp/rabbit for relay reconnect support

 func validateRelayOptions(opts *cli.Options) error { }  func (r *Relayer) Relay() error {++	errCh := make(chan *rabbit.ConsumeError)+ 	r.log.Infof("Relaying RabbitMQ messages from '%s' exchange -> '%s'", 		r.Options.Rabbit.Exchange, r.Options.RelayGRPCAddress)  	r.log.Infof("HTTP server listening on '%s'", r.Options.RelayHTTPListenAddress) -	msgChan, err := r.Channel.Consume(-		r.Options.Rabbit.ReadQueue,-		"",-		true,-		r.Options.Rabbit.ReadQueueExclusive,-		false,-		false,-		nil,-	)+	rmq, err := rabbit.New(&rabbit.Options{+		URL:          r.Options.Rabbit.Address,+		QueueName:    r.Options.Rabbit.ReadQueue,+		ExchangeName: r.Options.Rabbit.Exchange,+		RoutingKey:   r.Options.Rabbit.RoutingKey,+	})  	if err != nil {-		return errors.Wrap(err, "unable to create initial consume channel")+		return errors.Wrap(err, "unable to initialize rabbitmq consumer") 	} -	// Send message(s) to relayer-	r.Looper.Loop(func() error {-		select {-		case msg := <-msgChan:-			r.log.Debug("Writing RabbitMQ message to relay channel")--			r.RelayCh <- &types.RelayMessage{-				Value:   &msg,-				Options: &types.RelayMessageOptions{},-			}-		case <-r.DefaultContext.Done():-			r.log.Warning("received notice to quit loop")-			r.Looper.Quit()+	ctx, cancel := context.WithCancel(context.Background())++	go rmq.Consume(ctx, errCh, func(msg amqp.Delivery) error {+		r.log.Debug(fmt.Printf("Writing RabbitMQ message to relay channel: %+v", msg))+		r.RelayCh <- &types.RelayMessage{

What a pretty interface 😍

blinktag

comment created time in 22 days

Pull request review commentbatchcorp/plumber

Integrating batchcorp/rabbit for relay reconnect support

 func Read(opts *cli.Options) error { 		} 	} -	ch, err := connect(opts)-	if err != nil {-		return errors.Wrap(err, "unable to complete initial connect")-	}+	r, err := New(opts, md) -	r := &RabbitMQ{-		Options: opts,-		Channel: ch,-		MsgDesc: md,-		log:     logrus.WithField("pkg", "rabbitmq/read.go"),+	if err != nil {+		return err 	}  	return r.Read() }  // Read will attempt to consume one or more messages from the established rabbit // channel.-//-// NOTE: This method will not tolerate network hiccups. If you plan on running-// this long-term - we should add reconnect support. func (r *RabbitMQ) Read() error { 	r.log.Info("Listening for message(s) ...") -	msgChan, err := r.Channel.Consume(r.Options.Rabbit.ReadQueue, "", true, r.Options.Rabbit.ReadQueueExclusive, false, false, nil)-	if err != nil {-		return errors.Wrap(err, "unable to create initial consume channel")-	}+	errCh := make(chan *rabbit.ConsumeError)+	ctx, cancel := context.WithCancel(context.Background()) -	lineNumber := 1+	go r.Consumer.Consume(ctx, errCh, func(msg amqp.Delivery) error { -	for {-		msg := <-msgChan+		lineNumber := 1

Is this going to be 1 always?

blinktag

comment created time in 22 days

Pull request review commentbatchcorp/plumber

Integrating batchcorp/rabbit for relay reconnect support

 func (r *RabbitMQ) Read() error { 			}  			printer.Error(fmt.Sprintf("unable to complete conversion for message: %s", convertErr))-			continue+			return convertErr

Wrap this in errors.Wrap()

blinktag

comment created time in 22 days

Pull request review commentbatchcorp/plumber

Integrating batchcorp/rabbit for relay reconnect support

 func init() { }  var _ = Describe("Shared", func() {+ 	Context("connect", func() {

Let's name the contexts or describe's for the func's they're testing. I think this is Write, no?

EDIT: Read/Write

blinktag

comment created time in 22 days

Pull request review commentbatchcorp/plumber

Integrating batchcorp/rabbit for relay reconnect support

 func Read(opts *cli.Options) error { 		} 	} -	ch, err := connect(opts)-	if err != nil {-		return errors.Wrap(err, "unable to complete initial connect")-	}+	r, err := New(opts, md) -	r := &RabbitMQ{-		Options: opts,-		Channel: ch,-		MsgDesc: md,-		log:     logrus.WithField("pkg", "rabbitmq/read.go"),+	if err != nil {+		return err

Let's wrap this in errors.Wrap(err, "informative message about where this occurred")

blinktag

comment created time in 22 days

PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent

push eventbatchcorp/rabbit

Daniel Selans

commit sha 6807e011b4d695ade0612a304f0ac5f653b3e529

autoack should be configurable

view details

push time in 23 days

pull request commentbatchcorp/plumber

Integrating batchcorp/rabbit for relay reconnect support

Let's also update read and write to use the new lib.

blinktag

comment created time in 23 days

Pull request review commentbatchcorp/plumber

Integrating batchcorp/rabbit for relay reconnect support

 func validateRelayOptions(opts *cli.Options) error { }  func (r *Relayer) Relay() error {++	errCh := make(chan *rabbit.ConsumeError)+ 	r.log.Infof("Relaying RabbitMQ messages from '%s' exchange -> '%s'", 		r.Options.Rabbit.Exchange, r.Options.RelayGRPCAddress)  	r.log.Infof("HTTP server listening on '%s'", r.Options.RelayHTTPListenAddress) -	msgChan, err := r.Channel.Consume(-		r.Options.Rabbit.ReadQueue,-		"",-		true,-		r.Options.Rabbit.ReadQueueExclusive,-		false,-		false,-		nil,-	)+	rmq, err := rabbit.New(&rabbit.Options{+		URL:          r.Options.Rabbit.Address,+		QueueName:    r.Options.Rabbit.ReadQueue,+		ExchangeName: r.Options.Rabbit.Exchange,+		RoutingKey:   r.Options.Rabbit.RoutingKey,+	})  	if err != nil {-		return errors.Wrap(err, "unable to create initial consume channel")+		return errors.Wrap(err, "unable to start rabbitmq consumer") 	} -	// Send message(s) to relayer-	r.Looper.Loop(func() error {+	ctx, cancel := context.WithCancel(context.Background())++	for { 		select {-		case msg := <-msgChan:-			r.log.Debug("Writing RabbitMQ message to relay channel")--			r.RelayCh <- &types.RelayMessage{-				Value:   &msg,-				Options: &types.RelayMessageOptions{},-			}-		case <-r.DefaultContext.Done():-			r.log.Warning("received notice to quit loop")-			r.Looper.Quit()+		case errRabbit := <-errCh:+			r.log.Errorf("error receiving message from rabbit %s", errRabbit)
			r.log.Errorf("runFunc ran into an error: %s", errRabbit.Error.Error())
blinktag

comment created time in 23 days

Pull request review commentbatchcorp/plumber

Integrating batchcorp/rabbit for relay reconnect support

 func validateRelayOptions(opts *cli.Options) error { }  func (r *Relayer) Relay() error {++	errCh := make(chan *rabbit.ConsumeError)+ 	r.log.Infof("Relaying RabbitMQ messages from '%s' exchange -> '%s'", 		r.Options.Rabbit.Exchange, r.Options.RelayGRPCAddress)  	r.log.Infof("HTTP server listening on '%s'", r.Options.RelayHTTPListenAddress) -	msgChan, err := r.Channel.Consume(-		r.Options.Rabbit.ReadQueue,-		"",-		true,-		r.Options.Rabbit.ReadQueueExclusive,-		false,-		false,-		nil,-	)+	rmq, err := rabbit.New(&rabbit.Options{+		URL:          r.Options.Rabbit.Address,+		QueueName:    r.Options.Rabbit.ReadQueue,+		ExchangeName: r.Options.Rabbit.Exchange,+		RoutingKey:   r.Options.Rabbit.RoutingKey,+	})  	if err != nil {-		return errors.Wrap(err, "unable to create initial consume channel")+		return errors.Wrap(err, "unable to start rabbitmq consumer") 	} -	// Send message(s) to relayer-	r.Looper.Loop(func() error {+	ctx, cancel := context.WithCancel(context.Background())++	for { 		select {-		case msg := <-msgChan:-			r.log.Debug("Writing RabbitMQ message to relay channel")--			r.RelayCh <- &types.RelayMessage{-				Value:   &msg,-				Options: &types.RelayMessageOptions{},-			}-		case <-r.DefaultContext.Done():-			r.log.Warning("received notice to quit loop")-			r.Looper.Quit()+		case errRabbit := <-errCh:+			r.log.Errorf("error receiving message from rabbit %s", errRabbit)+		default:+			rmq.Consume(ctx, errCh, func(msg amqp.Delivery) error {

You should launch this in a goroutine before the for loop.

blinktag

comment created time in 23 days

Pull request review commentbatchcorp/plumber

Integrating batchcorp/rabbit for relay reconnect support

 func validateRelayOptions(opts *cli.Options) error { }  func (r *Relayer) Relay() error {++	errCh := make(chan *rabbit.ConsumeError)+ 	r.log.Infof("Relaying RabbitMQ messages from '%s' exchange -> '%s'", 		r.Options.Rabbit.Exchange, r.Options.RelayGRPCAddress)  	r.log.Infof("HTTP server listening on '%s'", r.Options.RelayHTTPListenAddress) -	msgChan, err := r.Channel.Consume(-		r.Options.Rabbit.ReadQueue,-		"",-		true,-		r.Options.Rabbit.ReadQueueExclusive,-		false,-		false,-		nil,-	)+	rmq, err := rabbit.New(&rabbit.Options{+		URL:          r.Options.Rabbit.Address,+		QueueName:    r.Options.Rabbit.ReadQueue,+		ExchangeName: r.Options.Rabbit.Exchange,+		RoutingKey:   r.Options.Rabbit.RoutingKey,+	})  	if err != nil {-		return errors.Wrap(err, "unable to create initial consume channel")+		return errors.Wrap(err, "unable to start rabbitmq consumer")
		return errors.Wrap(err, "unable to initialize rabbitmq consumer")
blinktag

comment created time in 23 days

PullRequestReviewEvent
PullRequestReviewEvent

push eventbatchcorp/rabbit

Daniel Selans

commit sha b51058c58577cfad65faa18421019d4d655bc3f6

tag bump fix

view details

push time in 24 days

push eventbatchcorp/rabbit

Daniel Selans

commit sha 7cbbad475a1bbe7154d9bd14afe6f38a7f70dfca

remove newline

view details

push time in 24 days

push eventbatchcorp/rabbit

Daniel Selans

commit sha 65b17d6976ebb594cfc0c06709fbfe0e89f5ee24

test cleanup - consolidated BeforeEach's into JustBeforeEach

view details

push time in 24 days

push eventbatchcorp/rabbit

Daniel Selans

commit sha 7afff1bcdcb92c40541c809467413ba8e12dbf8c

sleep after launching receiver

view details

Daniel Selans

commit sha 23992dbc0ed392f0f5a71c0a868624515cfbd199

Merge branch 'main' of github.com:batchcorp/rabbit into main

view details

push time in 24 days

push eventbatchcorp/rabbit

Daniel Selans

commit sha 3585cfe84cad4375643eef8b7ebe7dbbf4e1d9d4

readme example fix

view details

push time in 24 days

push eventbatchcorp/rabbit

Daniel Selans

commit sha 24012333f8c7396c44f955170f30507cd649e808

minor pkg description update

view details

push time in 24 days

push eventbatchcorp/rabbit

Daniel Selans

commit sha 3707a4986d1a0b511a86234fdcde2f936dc7dfea

bump sleep's - should redo to use wg at some point

view details

push time in 24 days

created tagbatchcorp/rabbit

tagv0.1.0

RabbitMQ wrapper for steadway/amqp that supports auto-reconnects

created time in 24 days

more