Skip to content

Commit

Permalink
Clarity wording around compression codecs
Browse files Browse the repository at this point in the history
  • Loading branch information
xvello authored and Nevon committed Feb 27, 2023
1 parent 5eaff2b commit 91bdfaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/Producing.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ Take a look at [Retry](Configuration.md#retry) for more information.
## <a name="compression"></a> Compression
Since KafkaJS aims to have as small footprint and as few dependencies as possible, only the GZIP codec is part of the core functionality. Providing plugins supporting other codecs might be considered in the future.
Since KafkaJS aims to have as small footprint and as few dependencies as possible, only the GZIP codec is part of the core functionality, other codecs are available as packages.
### <a name="compression-gzip"></a> GZIP
Expand Down Expand Up @@ -313,7 +313,7 @@ Configuration options can be passed to the factory function to control compressi

### <a name="compression-other"></a> Other

Any other codec than GZIP can be easily implemented using existing libraries.
Any other codec can be easily implemented using existing libraries.

A codec is an object with two `async` functions: `compress` and `decompress`. Import the libraries and define the codec object:

Expand Down

0 comments on commit 91bdfaf

Please sign in to comment.