Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@

# librdkafka v2.11.2 (unreleased)

## Fixes

* C++ docs: Clarify ownership of `RdKafka::Conf::dump()` return value (#5166, @aryanrahar)
=======
# librdkafka v2.12.0

librdkafka v2.12.0 is a feature release:
Expand All @@ -19,6 +26,7 @@ librdkafka v2.12.0 is a feature release:




# librdkafka v2.11.1

librdkafka v2.11.1 is a maintenance release:
Expand Down
13 changes: 11 additions & 2 deletions src-cpp/rdkafkacpp.h
Original file line number Diff line number Diff line change
Expand Up @@ -1436,8 +1436,17 @@ class RD_EXPORT Conf {
virtual Conf::ConfResult get(
SslCertificateVerifyCb *&ssl_cert_verify_cb) const = 0;

/** @brief Dump configuration names and values to list containing
* name,value tuples */
/** @brief Dump configuration names and values to a list containing
* name,value tuples.
*
* @remark Ownership: The returned std::list<std::string> is heap-allocated.
* The caller owns the list and must delete it when done, e.g.:
* @code
* std::list<std::string> *lst = conf->dump();
* // ... use lst ...
* delete lst;
* @endcode
*/
virtual std::list<std::string> *dump() = 0;

/** @brief Use with \p name = \c \"consume_cb\" */
Expand Down