Skip to content

Commit d0b4ad0

Browse files
fix(docs): kafka docs (#120)
1 parent 28a7b74 commit d0b4ad0

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docs/docs/reactive-commons/1-getting-started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ To enter the Kafka UI, open your browser and go to `http://localhost:8081`
190190
## Spring Boot Application
191191

192192
The Spring Boot sample publishes and consumes messages with the `DomainEventBus`. This application illustrates how to
193-
configure Reactive Commons using RabbitMQ in a Spring Boot environment.
193+
configure Reactive Commons using Kafka in a Spring Boot environment.
194194

195195
To build your own application using the Reactive Commons API, you need to include a dependency to Reactive Commons.
196196

@@ -210,7 +210,7 @@ dependencies {
210210

211211
Also you need to include the name for your app in the `application.properties`, it is important because this value will
212212
be used
213-
to name the application queues inside RabbitMQ:
213+
to name the application group-id inside Kafka:
214214

215215
```properties
216216
spring.application.name=MyAppName
@@ -224,7 +224,7 @@ spring:
224224
name: MyAppName
225225
```
226226

227-
You can set the RabbitMQ connection properties through spring boot with
227+
You can set the Kafka connection properties through spring boot with
228228
the [`spring.kafka.*` properties](https://docs.spring.io/spring-boot/docs/current/reference/html/application-properties.html)
229229

230230
```yaml
@@ -235,7 +235,7 @@ spring:
235235

236236
You can also set it in runtime for example from a secret, so you can create the `KafkaProperties` bean like:
237237

238-
```java title="org.reactivecommons.async.rabbit.config.RabbitProperties"
238+
```java title="org.reactivecommons.async.kafka.config.KafkaProperties"
239239
240240
@Configuration
241241
public class MyKafkaConfig {

docs/docs/reactive-commons/9-configuration-properties.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ You can override this settings programmatically through a `AsyncKafkaPropsDomain
148148
```java
149149
package sample;
150150
151-
import org.reactivecommons.async.rabbit.config.RabbitProperties;
152-
import org.reactivecommons.async.rabbit.config.props.AsyncProps;
153-
import org.reactivecommons.async.rabbit.config.props.AsyncRabbitPropsDomainProperties;
151+
import org.reactivecommons.async.kafka.config.KafkaProperties;
152+
import org.reactivecommons.async.kafka.config.props.AsyncProps;
153+
import org.reactivecommons.async.kafka.config.props.AsyncKafkaPropsDomainProperties;
154154
import org.springframework.context.annotation.Bean;
155155
import org.springframework.context.annotation.Primary;
156156
@@ -163,7 +163,7 @@ public class MyDomainConfig {
163163
KafkaProperties propertiesApp = new KafkaProperties();
164164
propertiesApp.setBootstrapServers(List.of("localhost:9092"));
165165
166-
RabbitProperties propertiesAccounts = new RabbitProperties();
166+
KafkaProperties propertiesAccounts = new KafkaProperties();
167167
propertiesAccounts.setBootstrapServers(List.of("localhost:9093"));
168168
169169
return AsyncKafkaPropsDomainProperties.builder()

0 commit comments

Comments
 (0)