You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The [modern-cpp-kafka API](http://opensource.morganstanley.com/modern-cpp-kafka/doxygen/annotated.html) is a layer of ***C++*** wrapper based on [librdkafka](https://github.com/confluentinc/librdkafka) (the ***C*** part only), with high quality, but more friendly to users.
7
+
The [modern-cpp-kafka API](http://morganstanley.github.io/modern-cpp-kafka/doxygen/annotated.html) is a layer of ***C++*** wrapper based on [librdkafka](https://github.com/confluentinc/librdkafka) (the ***C*** part only), with high quality, but more friendly to users.
8
8
9
9
- By now, [modern-cpp-kafka](https://github.com/morganstanley/modern-cpp-kafka) is compatible with [librdkafka v2.4.0](https://github.com/confluentinc/librdkafka/releases/tag/v2.4.0).
10
10
@@ -89,12 +89,12 @@ Eventually, we worked out the ***modern-cpp-kafka***, -- a ***header-only*** lib
[kafka::Properties Class Reference](http://opensource.morganstanley.com/modern-cpp-kafka/doxygen/classKAFKA__API_1_1Properties.html)
97
+
[kafka::Properties Class Reference](http://morganstanley.github.io/modern-cpp-kafka/doxygen/classKAFKA__API_1_1Properties.html)
98
98
99
99
* It is a map which contains all configuration info needed to initialize a Kafka client, and it's **the only** parameter needed for a constructor.
100
100
@@ -170,7 +170,7 @@ Eventually, we worked out the ***modern-cpp-kafka***, -- a ***header-only*** lib
170
170
171
171
## KafkaProducer
172
172
173
-
[kafka::clients::producer::KafkaProducer Class Reference](http://opensource.morganstanley.com/modern-cpp-kafka/doxygen/classKAFKA__API_1_1clients_1_1producer_1_1KafkaProducer.html)
173
+
[kafka::clients::producer::KafkaProducer Class Reference](http://morganstanley.github.io/modern-cpp-kafka/doxygen/classKAFKA__API_1_1clients_1_1producer_1_1KafkaProducer.html)
174
174
175
175
### A Simple Example
176
176
@@ -393,11 +393,11 @@ Here we have another choice, -- using `enable.manual.events.poll=true`, thus the
393
393
394
394
### Error Handling
395
395
396
-
[`kafka::Error`](http://opensource.morganstanley.com/modern-cpp-kafka/doxygen/classKAFKA__API_1_1Error.html) might occur at different places while sending a message,
396
+
[`kafka::Error`](http://morganstanley.github.io/modern-cpp-kafka/doxygen/classKAFKA__API_1_1Error.html) might occur at different places while sending a message,
397
397
398
-
* A [`kafka::KafkaException`](http://opensource.morganstanley.com/modern-cpp-kafka/doxygen/classKAFKA__API_1_1KafkaException.html) would be triggered if `KafkaProducer` fails to call the `send` operation.
398
+
* A [`kafka::KafkaException`](http://morganstanley.github.io/modern-cpp-kafka/doxygen/classKAFKA__API_1_1KafkaException.html) would be triggered if `KafkaProducer` fails to call the `send` operation.
399
399
400
-
* Delivery [`kafka::Error`](http://opensource.morganstanley.com/modern-cpp-kafka/doxygen/classKAFKA__API_1_1Error.html) could be fetched via the delivery-callback.
400
+
* Delivery [`kafka::Error`](http://morganstanley.github.io/modern-cpp-kafka/doxygen/classKAFKA__API_1_1Error.html) could be fetched via the delivery-callback.
401
401
402
402
* The `kafka::Error::value()` for failures
403
403
@@ -445,7 +445,7 @@ The `enable.idempotence=true` configuration is highly RECOMMENDED.
445
445
446
446
## Kafka Consumer
447
447
448
-
[kafka::clients::consumer::KafkaConsumer Class Reference](http://opensource.morganstanley.com/modern-cpp-kafka/doxygen/classKAFKA__API_1_1clients_1_1consumer_1_1KafkaConsumer.html)
448
+
[kafka::clients::consumer::KafkaConsumer Class Reference](http://morganstanley.github.io/modern-cpp-kafka/doxygen/classKAFKA__API_1_1clients_1_1consumer_1_1KafkaConsumer.html)
449
449
450
450
### A Simple Example
451
451
@@ -619,9 +619,9 @@ Once the KafkaConsumer is configured with `enable.auto.commit=false`, the user h
619
619
620
620
### Error Handling
621
621
622
-
* Normally, [`kafka::KafkaException`](http://opensource.morganstanley.com/modern-cpp-kafka/doxygen/classKAFKA__API_1_1KafkaException.html) will be thrown if an operation fails.
622
+
* Normally, [`kafka::KafkaException`](http://morganstanley.github.io/modern-cpp-kafka/doxygen/classKAFKA__API_1_1KafkaException.html) will be thrown if an operation fails.
623
623
624
-
* But if the `poll` operation fails, the [`kafka::Error`](http://opensource.morganstanley.com/modern-cpp-kafka/doxygen/classKAFKA__API_1_1Error.html) would be embedded in the [`kafka::clients::consumer::ConsumerRecord`](http://opensource.morganstanley.com/modern-cpp-kafka/doxygen/classKAFKA__API_1_1clients_1_1consumer_1_1ConsumerRecord.html).
624
+
* But if the `poll` operation fails, the [`kafka::Error`](http://morganstanley.github.io/modern-cpp-kafka/doxygen/classKAFKA__API_1_1Error.html) would be embedded in the [`kafka::clients::consumer::ConsumerRecord`](http://morganstanley.github.io/modern-cpp-kafka/doxygen/classKAFKA__API_1_1clients_1_1consumer_1_1ConsumerRecord.html).
625
625
626
626
* There're 2 cases for the `kafka::Error::value()`
0 commit comments