Willem van Bergen
|
d629146c3e
Consumer: check offset before returning ConsumePartition.
|
9 years ago |
Evan Huus
|
e71403d050
Put `handleResponse` method on partitionConsumer
|
9 years ago |
Evan Huus
|
80a846dbf9
Add better logs to the consumer
|
9 years ago |
Evan Huus
|
36d5ad22d5
Refactor partitionConsumer a bit
|
9 years ago |
Evan Huus
|
d988e6dd38
consumer: bugfix for broker workers getting stuck
|
9 years ago |
Evan Huus
|
7938e04f61
Fix PartitionConsumer godoc
|
9 years ago |
Evan Huus
|
6be486f900
Only mention closing the Client on the FromClient constructors
|
9 years ago |
Willem van Bergen
|
47bfe4df50
Update godoc for OffsetOldest and OffsetNewest, and move these to client.go.
|
9 years ago |
Willem van Bergen
|
a9d8315553
Remove OffsetTime in lieu of int64.
|
9 years ago |
Willem van Bergen
|
97b7df3b98
Consilidate refresh metadata methods into one
|
9 years ago |
Willem van Bergen
|
f9c4fd65c2
Make Client an interface.
|
9 years ago |
Evan Huus
|
a778a8ee97
Remove external calls to disconnectBroker
|
9 years ago |
Willem van Bergen
|
4189e55a44
Return{Errors,Successes} -> Return.{Errors,Successes}
|
9 years ago |
Willem van Bergen
|
251a2dbf7e
Update consumer example comments.
|
9 years ago |
Willem van Bergen
|
5411ec3676
Rename Ack* configuration names to Return*, make ReturnErrors default to false for the Consumer, update good and examples
|
9 years ago |
Evan Huus
|
01eada75a8
Simplify dispatcher loop
|
9 years ago |
Willem van Bergen
|
56542078b1
Configuration tweaks.
|
9 years ago |
Willem van Bergen
|
0d6a34032f
Make Consumer and PartitionConsumer interfaces.
|
9 years ago |
Evan Huus
|
6e7ef3c572
Permit constructing producers/consumers without clients
|
9 years ago |
Evan Huus
|
bce6b9ae7e
Combine the OffsetMethod and Offset parameters
|
9 years ago |
Evan Huus
|
0abdf8c4f0
Move the clientID into the config object
|
9 years ago |
Evan Huus
|
616ac5daa4
Unify configuration structures into config.go
|
9 years ago |
Evan Huus
|
4025ed88bf
Fix doc typo
|
9 years ago |
Willem van Bergen
|
cc01cb4093
Merge pull request #303 from Shopify/split_consumer_events_channel
|
9 years ago |
Willem van Bergen
|
87c89f868c
Also prefix KError instances with Err.
|
9 years ago |
Willem van Bergen
|
2018fd405e
Prefix error variables with Err
|
9 years ago |
Willem van Bergen
|
ed24dc91a8
Code review fixes.
|
9 years ago |
Willem van Bergen
|
fb5ef06e83
Godoc fixes.
|
9 years ago |
Willem van Bergen
|
2a331e8329
Fix inconsistent naming
|
9 years ago |
Willem van Bergen
|
2432b5fcf7
Split consumer’s Events() channel into Messages() and Errors()
|
9 years ago |