Skip to content

elie29/nestjs-kafka-project-github

Repository files navigation

Nest with Kafka

Nest framework TypeScript starter repository.

  • Provide KAFKA_SERVER or gcp.kafka.com host configuration
  • Create a first-topic : kafka-topics --bootstrap-server localhost:9092 --create --topic first-topic --partitions 1 --replication-factor 1
  • Verify topic content size: kafka-run-class kafka.tools.GetOffsetShell --broker-list localhost:9092 --topic second-topic --time -1

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published