Methods that relate to the native librdkafka library itself (do not require a Producer or Consumer broker connection).
Namespace: Confluent.Kafka Assembly: Confluent.Kafka.dll Syntaxpublic static class Library
Properties DebugContexts
Gets a list of the supported debug contexts.
Declarationpublic static string[] DebugContexts { get; }
Property Value HandleCount
The total number librdkafka client instances that have been created and not yet disposed.
Declarationpublic static int HandleCount { get; }
Property Value IsLoaded
true if librdkafka has been successfully loaded, false if not.
Declarationpublic static bool IsLoaded { get; }
Property Value Version
Gets the librdkafka version as an integer.
Interpreted as hex MM.mm.rr.xx: - MM = Major - mm = minor - rr = revision - xx = pre-release id (0xff is the final release)
E.g.: 0x000901ff = 0.9.1
Declarationpublic static int Version { get; }
Property Value VersionString
Gets the librdkafka version as string.
Declarationpublic static string VersionString { get; }
Property Value Methods Load()
Loads the native librdkafka library. Does nothing if the library is already loaded.
Declarationpublic static bool Load()
Returns Type Description bool
true if librdkafka was loaded as a result of this call, false if the library has already been loaded.
Load(string)Loads the native librdkafka library from the specified path (note: the specified path needs to include the filename). Does nothing if the library is already loaded.
Declarationpublic static bool Load(string path)
Parameters Type Name Description string path Returns Type Description bool
true if librdkafka was loaded as a result of this call, false if the library has already been loaded.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4