Граф коммитов

457 Коммитов

Автор SHA1 Сообщение Дата
Joel Hendrix 0eb7b61636
Fix sender.Recover() to be goroutine safe (#218)
* Fix sender.Recover() to be goroutine safe

Tidy go.sum

* add tracing to recovery code

* honor context while sleeping

* add comments detailing limitations

* add concurrency test

fix hang when test misbehaves
2021-07-07 19:01:53 -07:00
Joel Hendrix d9338b76d3
Skip calling sender.Recover() for some errors (#219)
* Skip calling sender.Recover() for some errors

For transient errors where we know the connection is good, don't
Recover() the connection as that doesn't really help.

* Add missing break
2021-07-07 11:40:18 -07:00
catalinaperalta 717fe444f2
Merge pull request #213 from catalinaperalta/master
return the error from getting the old checkpoint
2021-05-19 16:05:23 -07:00
Catalina Peralta 7dcc462fc7 return the error from getting the old checkpoint 2021-05-14 15:13:56 -07:00
catalinaperalta ae5acc7f0f
Merge pull request #211 from catalinaperalta/master
get checkpoint from specified consumer group
2021-05-14 13:23:35 -07:00
Catalina Peralta b2c1f965b1 improve checkpoint comparison 2021-05-11 08:27:51 -07:00
Catalina Peralta b92b698885 update version.go and changelog 2021-05-07 15:24:24 -07:00
Catalina Peralta d186b09e6d get checkpoint from specified consumer group 2021-05-07 15:22:19 -07:00
catalinaperalta 9c3a641339
Merge pull request #207 from danielrbradley/eph-default-checkpoint
Allow customisation of initial checkpoint
2021-05-04 15:45:49 -07:00
Daniel Bradley f6b68fbaaa Allow customisation of initial checkpoint
Document change in changelog
2021-04-30 20:05:55 +01:00
catalinaperalta ce20d7ad53
Merge pull request #208 from catalinaperalta/master
Update readme quick start
2021-04-23 16:21:20 -07:00
Catalina Peralta 2de66dafab update readme quick start 2021-04-22 18:05:39 -07:00
catalinaperalta 94590f4a15
Merge pull request #199 from nicolasGab/feature/WithEventhubInfoInBlobPath
Feature/with eventhub info in blob path
2021-03-11 15:42:20 -08:00
Nicolas Gaborel 74557b9260 Use a generic option function to prefix blob path 2021-03-09 11:16:16 +01:00
Nicolas Gaborel cdfaaf81a0 Update changelog and version file 2021-03-05 09:21:06 +01:00
Nicolas Gaborel 28dc0b0703 🎨 Use a string formatter to build the blob path 2021-03-02 18:02:17 +01:00
Nicolas Gaborel aa1be2f753
Merge branch 'master' into feature/WithEventhubInfoInBlobPath 2021-03-02 11:56:27 +01:00
catalinaperalta 7b808b37a5
Merge pull request #205 from princjef/receiver-block
Unblock receiver goroutine on shutdown
2021-02-11 10:32:16 -08:00
Jeff Principe f043fdccb8 Unblock receiver goroutine on shutdown 2021-02-05 15:48:20 -08:00
catalinaperalta f421926556
Merge pull request #203 from rwngallego/master
Remove check for temporary network errors
2021-01-22 17:41:02 -05:00
Rowinson Gallego de0141fe51 Remove check for temporary network errors 2021-01-22 23:24:04 +01:00
Nicolas Gaborel 0241b5256b
Merge branch 'master' into feature/WithEventhubInfoInBlobPath 2021-01-04 14:28:41 +01:00
catalinaperalta 2fcae0bd6b
Merge pull request #202 from catalinaperalta/master
Check for AZURE_ENVIRONMENT variable when creating a new hub
2020-12-10 11:52:52 -05:00
Catalina Peralta a44e3c901c code improvement 2020-12-10 08:18:42 -08:00
Catalina Peralta 88c818d3f4 updating env var check 2020-12-10 07:57:04 -08:00
Catalina Peralta bac9ba6b69 improve changelog message 2020-12-09 15:31:53 -08:00
Catalina Peralta b207faf0eb updating changelog and version 2020-12-09 15:30:01 -08:00
catalinaperalta 4e4898f623
Merge branch 'master' into master 2020-12-09 18:17:01 -05:00
Catalina Peralta 26a34c48b6 checking for azure environment variable when creating a new hub 2020-12-09 15:10:00 -08:00
Nicolas Gaborel 9083ed756b
Merge branch 'master' into feature/WithEventhubInfoInBlobPath 2020-11-13 09:52:48 +01:00
catalinaperalta c5588f4995
Merge pull request #198 from jonasrichard/smaller-batch
Fix infinite loop in event batch iterator
2020-11-06 15:06:41 -05:00
Nicolas Gaborel b7548b7566
Merge branch 'master' into feature/WithEventhubInfoInBlobPath 2020-11-02 10:57:45 +01:00
Richard Jonas d80cdd1061 Update version, add doc for error 2020-11-02 09:16:29 +01:00
Richard Jonas 0ce19295a7
Merge branch 'master' into smaller-batch 2020-11-02 09:13:23 +01:00
catalinaperalta aaae767071
Merge pull request #200 from catalinaperalta/master
Integration tests: adding gocyclo in set up
2020-10-30 16:38:39 -04:00
catalinaperalta 2b487330c7
Merge branch 'master' into master 2020-10-30 16:23:29 -04:00
Catalina Peralta 166e07295b adding gocyclo in set up 2020-10-30 13:21:13 -07:00
Nicolas Gaborel b86fa81da0 Remove import name overload 2020-10-30 16:01:04 +01:00
Nicolas Gaborel aeb50b0bb8 Add blob path prefix option to leaser-checkpointer 2020-10-30 15:58:46 +01:00
Richard Jonas 99af387d78 Drop messages which 1MB bigger 2020-10-29 11:13:54 +01:00
catalinaperalta d4f0c5777f
Merge pull request #197 from catalinaperalta/master
Updating code to work with the latest go-amqp
2020-10-20 12:28:23 -04:00
Catalina Peralta fa4ef8cb43 go mod tidy 2020-10-20 09:01:20 -07:00
Catalina Peralta 1bbe70cbc1 Update gocyclo get command 2020-10-20 07:41:01 -07:00
Catalina Peralta 26d0f85148 update changelog 2020-10-20 07:37:50 -07:00
Catalina Peralta 08b52aedd9 Update go.mod dependencies 2020-10-19 21:37:34 -07:00
Catalina Peralta 0038bef8ee Update internal code to work with latest go-amqp 2020-10-19 15:51:33 -07:00
catalinaperalta 1999319cd9
Merge pull request #172 from estensen/patch-1
Fix indentation in code example
2020-10-16 12:21:24 -04:00
catalinaperalta cd8c651ce4
Merge branch 'master' into patch-1 2020-10-16 12:17:10 -04:00
Jeff Principe 068880fdf4
apply Receive options after populating last stored checkpoint (#189)
* apply Receive options after populating last stored checkpoint

* version bump

Co-authored-by: Joel Hendrix <jhendrix@microsoft.com>
2020-10-15 13:25:56 -07:00
Eike Wichern 68c28fd2a6
Fixing panic caused by incorrect conversion in event.go (#183)
Co-authored-by: catalinaperalta <catalinaperaltah@hotmail.com>
2020-10-15 13:11:24 -07:00