Please help convert this script to what can run on Windows PowerShell: #!/usr/bin/env bash scriptDir="$(dirname "$0")" file="$scriptDir/file-received.json" topic="ws.wsp.edi-file.processing.member.parsed" kcat \ -P \ -b localhost:9092 \ -t ${topic} \ -D ^ \ ${file}
Please help convert this script to what can run on Windows PowerShell: #!/usr/bin/env bash
scriptDir="$(dirname "$0")"
file="$scriptDir/file-received.json"
topic="ws.wsp.edi-file.processing.member.parsed"
kcat \
-P \
-b localhost:9092 \
-t ${topic} \
-D ^ \
${file}
Trending now
This is a popular solution!
Step by step
Solved in 3 steps