
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
kinesis-write-stream
Advanced tools
Supply Chain Security
Vulnerability
Quality
Maintenance
License
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
Critical CVE and High CVE
Kinesis writable stream that buffers up records
Records written to the stream will buffer up until highWaterMark
has
been reached, or the stream is closed, before writing to Kinesis using
putRecords
.
Failed items will be retried up until options.maxRetries
has been
reached. The initial timeout before the retry is set in
options.retryTimeout
and it increases by the fibonnaci sequence.
The partition key is by default a random number, but this can be
adjusted by overriding streamInstance.getPartitionKey(record)
.
Its also possible to send in the option flushTimeout
to indicate
that the items currently in the buffer should be flushed after the
given amount of milliseconds if the highWaterMark
haven't been
reached.
A bunyan,
winston or similar logger
instance that have methods like debug
, error
and info
may be
sent in as options.logger
to the constructor.
var KinesisWritable = require('kinesis-write-stream');
var stream = new KinesisWritable(kinesisClient, 'streamName', {
highWaterMark: 16,
maxRetries: 3,
retryTimeout: 100
});
inputStream.pipe(stream);
See api.md.
MIT
[1.1.1] - 2018-01-18
FAQs
Kinesis writable stream that buffers up records
The npm package kinesis-write-stream receives a total of 0 weekly downloads. As such, kinesis-write-stream popularity was classified as not popular.
We found that kinesis-write-stream demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.