Skip to content

Commit 5b11850

Browse files
authored
docs: Refactor publishing/index.md docs (#2259)
1 parent 9038155 commit 5b11850

File tree

1 file changed

+7
-7
lines changed
  • docs/docs/en/getting-started/publishing

1 file changed

+7
-7
lines changed

docs/docs/en/getting-started/publishing/index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ search:
1414

1515
It offers several use cases for publishing messages:
1616

17-
* Using `#!python broker.publish(...)` method
18-
* Using the `#!python @broker.publisher(...)` decorator
19-
* Using a publisher object decorator
20-
* Using a publisher object directly
17+
* Using [`#!python broker.publish(...)` method](./publishing/broker.md){.internal-link}
18+
* Using the [`#!python @broker.publisher(...)` decorator](./publishing/decorator.md){.internal-link}
19+
* Using a [publisher object decorator](./publishing/object.md){.internal-link}
20+
* Using a [publisher object directly](./publishing/direct.md){.internal-link}
2121

22-
All of these variants have their own advantages and limitations, so you can choose what you want based on your requirements. Please visit the following pages for details.
22+
All of these variants have their own advantages and limitations, so you can choose what you want based on your requirements. This section will guide you through all the details.
2323

2424
## Serialization
2525

@@ -39,11 +39,11 @@ By the way, you can use `application/json` for all of your messages if they are
3939

4040
## Publishing
4141

42-
**FastStream** can also be used as a Broker client to send messages in other applications. It is quite straightforward and similar to *aiohttp* or *requests*.
42+
**FastStream** can also be used as a Broker client to send messages in other applications.
4343

4444
You just need to `#!python connect` your broker, and you are ready to send a message. Additionally, you can use *Broker* as an async context manager to establish a connection and disconnect when leaving the scope.
4545

46-
To publish a message, simply set up the message content and a routing key:
46+
To publish a message, provide the message content and a routing key:
4747

4848
=== "AIOKafka"
4949
```python

0 commit comments

Comments
 (0)