Skip to content

Commit

Permalink
Update Redis stream documentation (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
minghsu0107 committed Feb 3, 2023
1 parent 689c1ac commit e93ffac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/pubsubs/redisstream.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ toc = false

### Redis Stream

Redis is a the open source, in-memory data store used by millions of developers. Redis stream is a data structure that acts like an append-only log in Redis. We are providing Pub/Sub implementation based on [redis/go-redis](https://github.com/redis/go-redis).
Redis is the open source, in-memory data store used by millions of developers. Redis stream is a data structure that acts like an append-only log in Redis. We are providing Pub/Sub implementation based on [redis/go-redis](https://github.com/redis/go-redis).

### Installation

Expand Down Expand Up @@ -69,7 +69,7 @@ Example:

#### Marshaler

Watermill's messages cannot be directly sent to Redis - they need to be marshaled. You can implement your marshaler or use default implementation.
Watermill's messages cannot be directly sent to Redis - they need to be marshaled. You can implement your marshaler or use default implementation. The default implementation uses [MessagePack](https://msgpack.org/index.html) for efficient serialization.

{{% render-md %}}
{{% load-snippet-partial file="src-link/watermill-redisstream/pkg/redisstream/marshaller.go" first_line_contains="const UUIDHeaderKey" last_line_contains="type DefaultMarshallerUnmarshaller" padding_after="0" %}}
Expand Down

0 comments on commit e93ffac

Please sign in to comment.