Skip to content

Commit 73d438c

Browse files
author
h1alexbel
committed
api word off
1 parent 7cf9d9c commit 73d438c

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ dependencies {
6363
}
6464
```
6565

66-
## Messages API
66+
## Messages
6767
To create Kafka Message with **Topic**, **Key** and **Value**:
6868
```java
6969
final Message<String, String> msg = new Tkv<>("test.topic", "test-k", "test-v");
@@ -98,7 +98,7 @@ final Message<String, String> msg =
9898
);
9999
```
100100

101-
## Producer API
101+
## Producers
102102
To create Kafka Producer you can wrap original [KafkaProducer](https://kafka.apache.org/23/javadoc/index.html?org/apache/kafka/clients/producer/KafkaProducer.html):
103103
```java
104104
final KafkaProducer origin = ...;
@@ -174,7 +174,7 @@ final Producer<String, String> producer =
174174
);
175175
```
176176

177-
## Consumer API
177+
## Consumers
178178
To create Kafka Consumer you can wrap original [KafkaConsumer](https://kafka.apache.org/23/javadoc/index.html?org/apache/kafka/clients/consumer/KafkaConsumer.html):
179179
```java
180180
final KafkaConsumer origin = ...;
@@ -259,7 +259,7 @@ Finally, you can `unsubscribe`:
259259
consumer.unsubscribe();
260260
```
261261

262-
## Fake API
262+
## Fakes
263263

264264
In case of mocking eo-kafka, you can use existing Fake Objects from `io.github.eocqrs.kafka.fake` package.
265265
They look like a normal ones, but instead of talking to real Kafka broker,
@@ -326,7 +326,7 @@ final Consumer<Object, String> consumer =
326326
);
327327
```
328328

329-
### Fake API Example
329+
### Example with Fakes
330330

331331
```java
332332
final String topic = "test";

0 commit comments

Comments
 (0)