Evan Huus
|
6c7468fa03
consumer: more robust handling of message offsets
|
10 years ago |
Evan Huus
|
64e556f2c9
consumer: silently skip messages already consumed
|
10 years ago |
Evan Huus
|
affb0b04e0
Only update the stored offset on successful events
|
10 years ago |
Evan Huus
|
e33b57b271
Validate the offset received from kafka when consuming
|
10 years ago |
Rob Rodgers
|
15782aa08d
Address Evan's comments on the previous version. Add checks for Closed() to a few other locations including consumer.go.
|
11 years ago |
Willem van Bergen
|
2bae192c12
Use time.Duration values consistently in *Config types.
|
10 years ago |
Evan Huus
|
5cbd22983e
doc tweaks suggested by golint
|
10 years ago |
Nick Evans
|
01497948eb
Merge pull request #109 from Shopify/add_GetCurrentOffset_to_client
|
10 years ago |
Nick Evans
|
6352c9917d
add GetCurrentOffset to client
|
10 years ago |
Evan Huus
|
d99b33ee72
Improve documentation and defaults for consumer configuration
|
10 years ago |
Willem van Bergen
|
423e478a06
Small fixes
|
10 years ago |
Willem van Bergen
|
8c789b7d01
Add NewConsumerConfig()
|
10 years ago |
Willem van Bergen
|
28b289a868
Do the same for ClientConfig and ProducerConfig
|
10 years ago |
Willem van Bergen
|
9d9be45ad0
Add docs for ConsumerConfig#Validate.
|
10 years ago |
Willem van Bergen
|
e3a0e2b5e6
Move ConsumerConfig validation to separate method that is exported.
|
10 years ago |
Willem van Bergen
|
b3e86b9af5
Update docs and sendError
|
10 years ago |
Willem van Bergen
|
b0c0c68111
Add topic and partition to ConsumerEvent struct
|
10 years ago |
Evan Huus
|
be6f649828
Drop pretense of support for Go 1.0
|
10 years ago |
Dimitrij Denissenko
|
b1a73257c4
Allow to decode snappy streams
|
10 years ago |
Burke Libbey
|
13d276c488
Log the other two sites where disconnectBroker is called
|
11 years ago |
Burke Libbey
|
8c2c1f53d4
Don't let the caller pass in MaxWaitTime=0.
|
11 years ago |
Florian Weingarten
|
ba9974ffb1
Add PanicHandler
|
11 years ago |
Evan Huus
|
385453a455
Phrasing/syntax tweaks.
|
11 years ago |
Burke Libbey
|
60bb33d36a
Move config check to matched check for consistency
|
11 years ago |
Burke Libbey
|
843a3d9642
Use sarama.Logger.Println rather than log.Println
|
11 years ago |
Burke Libbey
|
6b1f0878c1
Update docs to reflect actual behaviour of MaxWaitTime=0
|
11 years ago |
Burke Libbey
|
27bf0b4e67
Revise message re: code review
|
11 years ago |
Burke Libbey
|
4b108b6689
Warn if Consumer is naively configured in a way that will cause busy-looping
|
11 years ago |
Simon Eskildsen
|
3f1ee04b51
Add error handling for empty topics
|
11 years ago |
Antoine Grondin
|
07ce59b43f
Revert `go vet` incompatible changes (go1.0). More magic numbers.
|
11 years ago |