Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tulios/kafkajs
/ secureRandom
Function
secureRandom
scripts/waitForKafka.js:6–6 ·
view source on GitHub ↗
(length = 10)
Source
from the content-addressed store, hash-verified
4
const
crypto = require(
'crypto'
)
5
6
const
secureRandom = (length = 10) => crypto.randomBytes(length).toString(
'hex'
)
7
8
const
findContainerId = node => {
9
const
cmd = `
Callers
15
consumerGroupDescribe
Function · 0.70
waitForKafka.js
File · 0.70
compression.spec.js
File · 0.50
index.spec.js
File · 0.50
testProduceMessages
Function · 0.50
idempotentProduceMessages.spec.js
File · 0.50
concurrentTransaction.spec.js
File · 0.50
producingToInvalidTopic.spec.js
File · 0.50
fetch.spec.js
File · 0.50
listPartitionReassignments.spec.js
File · 0.50
deleteTopics.spec.js
File · 0.50
describeGroups.spec.js
File · 0.50
Calls
1
toString
Method · 0.80
Tested by
6
testProduceMessages
Function · 0.40
produceData
Function · 0.40
createHeader
Function · 0.40
createTopicData
Function · 0.40
addPartitionsToTxn
Function · 0.40
sendMessages
Function · 0.40
Used in the wild
real call sites across dependent graphs
searching dependent graphs…