
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
@rocketseat/kafka-typings
Advanced tools
This package exports typings for Kafka topics and messages so we can keep a pattern of the data exchanged between the micro-services.
This package exports typings for Kafka topics and messages so we can keep a pattern of the data exchanged between the micro-services.
import * as PlutoKafka from '@rocketseat/kafka-typings/types/pluto';
import { kafka } from 'example-kafka-client-path';
const message: PlutoKafka.SignatureCreatedMessage = {
// this will be typed
}
kafka.emit(PlutoKafka.TOPICS.SIGNATURE_CREATED, message);
To use this package locally, we will use yalc that works like a local store for NPM packages.
First, install yalc globally using NPM or Yarn.
yarn global add yalc
npm i yalc -g
Inside the kafka-typings folder, after changing it's code, you can:
yalc publish
This will publish the package to the local store.
Inside the project folder, run:
yalc link @rocketseat/kafka-typings
You can always refresh the package code using yalc update, this will bring the latest version of the code from within the local store (this will only works after a yalc publish).
Always remember to include yalc.lock and .yalc folder inside the .gitignore file on the project folder.
FAQs
This package exports typings for Kafka topics and messages so we can keep a pattern of the data exchanged between the micro-services.
We found that @rocketseat/kafka-typings demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.