Commit Graph

379 Commits

Author SHA1 Message Date
accelerated
3d1402f53a Fixed font 2018-04-03 12:04:26 -04:00
accelerated
6db2cdcecf Fixed font 2018-04-03 12:02:21 -04:00
accelerated
018a1f52d9 Fixed deprecated error librdkafka function 2018-04-03 11:58:21 -04:00
Matias Fontanini
df12b5fd5c Fix linking issues on Windows
Relates to #10
2018-03-20 08:12:04 -07:00
Matias Fontanini
9513b01b8e Don't use quotes when expanding DEPENDENCIES 2018-03-19 07:04:59 -07:00
Matias Fontanini
86ed154c92 Link with ws2_32.lib on Windows 2018-03-18 18:57:09 -07:00
Matias Fontanini
69e30f9e74 Merge pull request #39 from arvidn/destruction
destruct callbacks (and their closures)
2018-03-17 15:42:21 -07:00
Matias Fontanini
675954ef75 Merge pull request #40 from arvidn/poll-batch-performance
improve performance of Consumer::poll_batch()
2018-03-17 15:41:21 -07:00
arvidn
98b9839ff9 improve performance of Consumer::poll_batch() by allocating the results array once, rather than incremental growth. Also avoid checking every single pointer in the returned array, just use the returned counter instead 2018-02-08 12:22:11 +01:00
arvidn
d173526f99 destruct callbacks (and their closures) to ensure there are no reference cycles when destructing the consumer. This solves a hang in rd_kafka_destroy 2018-02-08 11:51:36 +01:00
Matias Fontanini
deff8b1ff3 Merge pull request #27 from alkenet/patch-1
Update README.md
2017-11-28 20:28:00 -08:00
atravers
cc7d183ff1 Update README.md
Should there not be a flush at the end? In my case, the application quit without the message ending up on Kafka.
2017-11-29 13:03:02 +09:00
Matias Fontanini
1817115784 Merge pull request #22 from mfontanini/mfontanini-patch-1
Use latest kafka version in travis
2017-11-21 09:19:21 -08:00
Matias Fontanini
9c09243633 Use latest kafka version in travis 2017-11-21 06:51:53 -08:00
Matias Fontanini
5b63c642f9 Merge pull request #21 from spektom/patch-1
Check for existing custom target: uninstall
2017-11-21 06:47:23 -08:00
Michael Spector
c874ccc43f Check for existing custom target: uninstall
When including `cppkafka` in a CMake project containing other project defining the same target (`curl`, specifically, which defines the same target [here](3ea7679057/CMakeLists.txt (L1293))) I get the foollowing error:

```
add_custom_target cannot create target "uninstall" because another target  with the same name already exists
```

This if condition fixes the issue.
2017-11-21 10:14:29 +02:00
Matias Fontanini
af368bba04 Merge pull request #16 from arvidn/include-dir
make sure dependent targets get the include directory added correctly
2017-11-11 14:02:32 -08:00
arvidn
c7715733bf make sure dependent targets get the include directory added correctly 2017-10-25 20:50:59 +02:00
Matias Fontanini
80e0ed5007 Merge pull request #18 from arvidn/consumer-typo
fix typo in consumer documentation
2017-10-25 11:28:56 -07:00
arvidn
a1dc9d115e fix typo in consumer documentation 2017-10-25 20:26:35 +02:00
Matias Fontanini
edb2737263 Merge pull request #17 from arvidn/typo
fix typo in README
2017-10-24 14:08:05 -07:00
arvidn
5bd61e8915 fix typo in README 2017-10-24 22:26:54 +02:00
Matias Fontanini
0e96f87eeb Wait for kafka to come up in travis build 2017-10-14 10:40:36 -07:00
Matias Fontanini
702279d0e9 Add travis CI badge to README.md 2017-10-14 10:28:42 -07:00
Matias Fontanini
94dac08d79 Merge pull request #14 from mfontanini/travis
Add travis CI build file
2017-10-14 10:28:25 -07:00
Matias Fontanini
29fa7bed19 Add travis CI build file 2017-10-14 08:41:52 -07:00
Matias Fontanini
179e669c06 Assume testing kafka cluster is >= 0.10 2017-10-14 08:41:33 -07:00
Matias Fontanini
853396acab Fix Consumer::poll_batch test 2017-10-14 08:41:33 -07:00
Matias Fontanini
5889c322c2 Fix link issues when building in clang 2017-10-02 10:31:02 -07:00
Matias Fontanini
17da880854 Persist message's user data when retrying on buffered producer 2017-09-17 15:46:23 -07:00
Matias Fontanini
4c9aa6fcd4 Catch exceptions on Consumer destructor
Fixes #6
2017-09-14 19:26:38 -07:00
Matias Fontanini
37cb16c3f5 Check for null pointer on Consumer::poll_batch
Fixes #8
2017-09-06 23:44:34 -07:00
Matias Fontanini
04d5b41c6b Add a project description to README.md 2017-08-28 21:29:35 -07:00
Matias Fontanini
c3011c9eed Remove redundant line in README.md 2017-08-28 21:24:20 -07:00
Matias Fontanini
d0c794b978 Increase expected acks on buffered producer after producing 2017-08-24 15:04:54 -07:00
Matias Fontanini
86d4bc8037 Make BasicConsumerDispatcher::Pauser a template type 2017-08-21 14:47:06 -07:00
Matias Fontanini
0d4b9ef2f6 Don't keep looping on NO_OFFSET error on backoff committer 2017-08-03 09:33:09 -07:00
Matias Fontanini
1582f6156d Allow consuming message batches
Fixes #3
2017-07-17 19:17:57 -07:00
Matias Fontanini
2340046544 Clear messages acked/expected acks on buffered producer 2017-07-11 10:17:58 -07:00
Matias Fontanini
b7a0dce710 Add a generic "event" event on ConsumerDispatcher 2017-07-04 18:23:42 -07:00
Matias Fontanini
08815e97c0 Add CPPKAFKA_API to utils classes 2017-07-04 18:09:06 -07:00
Matias Fontanini
9e6315fcc2 Make ConsumerDispatcher a template class 2017-07-04 18:07:22 -07:00
Matias Fontanini
191956b4ca Pause/resume consumption on throttle 2017-06-17 09:39:50 -07:00
Matias Fontanini
4af48ff0e7 Allow throttling on ConsumerDispatcher 2017-06-17 08:52:48 -07:00
Matias Fontanini
556dac7015 Add backoff performer class 2017-06-16 19:27:18 -07:00
Matias Fontanini
4cd03aea3c Cleanup ConsumerDispatcher code 2017-06-11 14:35:33 -07:00
Matias Fontanini
2e6bfd64d3 Fix comment typo 2017-06-10 19:37:48 -07:00
Matias Fontanini
ed71ab2daa Add example using ConsumerDispatcher 2017-06-10 19:26:42 -07:00
Matias Fontanini
52822fdb61 Move some small functions into header files 2017-06-10 19:15:53 -07:00
Matias Fontanini
bb5fb490ce Check if all callbacks match a signature on ConsumerDispatcher 2017-06-10 17:55:17 -07:00