@@ -12,12 +12,11 @@ Welcome to kafka-rust's new home: https://github.com/kafka-rust
12
12
13
13
## Documentation
14
14
15
- * This library is primarily documented through examples in its [ API
16
- documentation] ( https://docs.rs/kafka/ ) .
17
- * Documentation about Kafka itself can be found at [ its project
18
- home page] ( http://kafka.apache.org/ ) .
15
+ - This library is primarily documented through examples in its [ APIdocumentation] ( https://docs.rs/kafka/ ) .
16
+ - Documentation about Kafka itself can be found at [ its projecthome page] ( http://kafka.apache.org/ ) .
19
17
20
18
## Sponsors
19
+
21
20
Thank you to our sponsers, this helps me to spend more time on this project and also helps with infrastructure
22
21
23
22
<table >
@@ -30,13 +29,14 @@ Thank you to our sponsers, this helps me to spend more time on this project and
30
29
31
30
<h3 >Upstash: Serverless Kafka</h3 >
32
31
33
- <ul >
32
+ <ul >
34
33
<li>True Serverless Kafka with per-request-pricing</li>
35
34
<li>Managed Apache Kafka, works with all Kafka clients</li>
36
35
<li>Built-in REST API designed for serverless and edge functions</li>
37
36
</ul >
38
37
39
- [ Start for free in 30 seconds!] ( https://upstash.com/?utm_source=kafka-rust" )
38
+ [ Start for free in 30 seconds!] ( https://upstash.com/?utm_source=kafka-rust )
39
+
40
40
</td >
41
41
</tr >
42
42
</table >
@@ -55,8 +55,7 @@ kafka = "0.9"
55
55
56
56
To build kafka-rust the usual ` cargo build ` should suffice. The crate
57
57
supports various features which can be turned off at compile time.
58
- See kafka-rust's ` Cargo.toml ` and [ cargo's
59
- documentation] ( http://doc.crates.io/manifest.html#the-features-section ) .
58
+ See kafka-rust's ` Cargo.toml ` and [ cargo'sdocumentation] ( http://doc.crates.io/manifest.html#the-features-section ) .
60
59
61
60
## Supported Kafka version
62
61
@@ -65,12 +64,9 @@ not all features from Kafka 0.9 and newer are supported yet.
65
64
66
65
## Examples
67
66
68
- As mentioned, the [ cargo generated
69
- documentation] ( https://docs.rs/kafka/ ) contains some examples.
67
+ As mentioned, the [ cargo generateddocumentation] ( https://docs.rs/kafka/ ) contains some examples.
70
68
Further, standalone, compilable example programs are provided in the
71
- [ examples directory of the
72
- repository] ( https://github.com/spicavigo/kafka-rust/tree/master/examples ) .
73
-
69
+ [ examples directory of therepository] ( https://github.com/spicavigo/kafka-rust/tree/master/examples ) .
74
70
75
71
## Consumer
76
72
@@ -80,7 +76,6 @@ support on behalf of a specified group. This is the API a client
80
76
application of this library wants to use for receiving messages from
81
77
Kafka.
82
78
83
-
84
79
## Producer
85
80
86
81
This is a higher-level producer API for Kafka and is provided by the
@@ -89,7 +84,6 @@ assignment capabilities through partitioners. This is the API a
89
84
client application of this library wants to use for sending messsages
90
85
to Kafka.
91
86
92
-
93
87
## KafkaClient
94
88
95
89
` KafkaClient ` in the ` kafka::client ` module is the central point of
@@ -98,13 +92,12 @@ suitable for building higher-level APIs. Applications typically want
98
92
to use the already mentioned ` Consumer ` and ` Producer ` .
99
93
Nevertheless, the main features or ` KafkaClient ` are:
100
94
101
- * Loading metadata
102
- * Fetching topic offsets
103
- * Sending messages
104
- * Fetching messages
105
- * Committing a consumer group's offsets
106
- * Fetching a consumer group's offsets
107
-
95
+ - Loading metadata
96
+ - Fetching topic offsets
97
+ - Sending messages
98
+ - Fetching messages
99
+ - Committing a consumer group's offsets
100
+ - Fetching a consumer group's offsets
108
101
109
102
## Bugs / Features / Contributing
110
103
@@ -126,7 +119,6 @@ Docker (1.10.0+) and docker-compose (1.6.0+) installed and run the tests via the
126
119
included ` run-all-tests ` script in the ` tests ` directory. See the ` run-all-tests `
127
120
script itself for details on its usage.
128
121
129
-
130
122
## Creating a topic
131
123
132
124
Note unless otherwise explicitly stated in the documentation, this
@@ -148,5 +140,5 @@ for more information.
148
140
149
141
## Alternative/Related projects
150
142
151
- * [ rust-rdkafka] ( https://github.com/fede1024/rust-rdkafka ) is an emerging alternative Kafka client library for Rust based on
143
+ - [ rust-rdkafka] ( https://github.com/fede1024/rust-rdkafka ) is an emerging alternative Kafka client library for Rust based on
152
144
` librdkafka ` . rust-rdkafka provides a safe Rust interface to librdkafka.
0 commit comments