Skip to content

Commit

Permalink
style: remove trailing whitespace (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored Nov 3, 2024
1 parent b7e1deb commit 45a905f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![NPM version](https://img.shields.io/npm/v/@fastify/kafka.svg?style=flat)](https://www.npmjs.com/package/@fastify/kafka)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/)

Fastify plugin to interact with [Apache Kafka](http://kafka.apache.org/). Supports Kafka producer and consumer.
Fastify plugin to interact with [Apache Kafka](http://kafka.apache.org/). Supports Kafka producer and consumer.
To achieve the best performance, the plugin uses [`node-rdkafka`](https://github.com/Blizzard/node-rdkafka).

### Install
Expand Down Expand Up @@ -56,7 +56,7 @@ fastify.listen({ port: 3000 }, err => {
console.log(`server listening on ${fastify.server.address().port}`)
})
```

For more examples on how to use this plugin you can take a look at the [examples directory](./examples).

### API
Expand Down
18 changes: 9 additions & 9 deletions types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { FastifyPluginCallback } from 'fastify';
import {
ConsumerGlobalConfig,
ConsumerTopicConfig,
KafkaConsumer,
Message,
MetadataOptions,
Producer,
ProducerGlobalConfig,
ProducerTopicConfig
import {
ConsumerGlobalConfig,
ConsumerTopicConfig,
KafkaConsumer,
Message,
MetadataOptions,
Producer,
ProducerGlobalConfig,
ProducerTopicConfig
} from 'node-rdkafka';

declare module 'fastify' {
Expand Down

0 comments on commit 45a905f

Please sign in to comment.