
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
brod-caster
Advanced tools
Combines Apache Kafka & Google Protocol Buffers
Watch your Kafka message queue and dispatch tasks accordingly.
As Kafka's literary executor, Max Brod refused to follow the writer's instructions to burn his life's work, and had them published instead. (Wikipedia)
var kafka = new BrodCaster();
kafka.on('myService', 'eventName', function(data) {
console.log(data);
});
kafka.send('myService', 'eventName', { my: 'data' }, function(err, result) {
console.log(err || result);
})
{
adaptor: {
type: 'protocolBuffer',
// Append this value to the `eventName` value
package: 'com.takeaway.events.cdn.page',
// Path to `protoc` compiled message descriptors
// Envelope has to have a message called `Envelope`
envelope: './events/envelope.desc',
messages: './events/my-events.desc'
},
topics: [
{
topic: 'service-broadcast'
}, {
topic: 'foo',
offset: 20
}
],
client: {
connectionString: 'localhost:2181/',
// Set your own client name
clientId: 'brod-caster',
zkOptions: {}, // see: node-zookeeper-client
},
consumer: {
// Default value for `protocolBuffer` adaptor
encoding: 'buffer'
},
producer: {
},
// Only for testing purposes
producerInstance: myInstance
}
Pass in options.parser
& options.serializer
functions to skip using adaptor.
data
gets serialized byBuffer
for envelope - currently not supported)message
FAQs
Keep track of your micro-service messages and dispatch tasks accordingly
We found that brod-caster demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.