Sample Header Ad - 728x90

Is there any limit on line length when pasting to a terminal in Linux?

29 votes
4 answers
36121 views
I am trying to send messages from kafka-console-producer.sh, which is #!/bin/bash if [ "x$KAFKA_HEAP_OPTS" = "x" ]; then export KAFKA_HEAP_OPTS="-Xmx512M" fi exec $(dirname $0)/kafka-run-class.sh kafka.tools.ConsoleProducer "$@" I am pasting messages then via Putty terminal. On receive side I see messages truncated approximately to 4096 bytes. I don't see anywhere in Kafka, that this limit is set. Can this limit be from bash/terminal or Putty?
Asked by Dims (3425 rep)
Apr 6, 2021, 01:50 PM
Last activity: Aug 16, 2023, 10:53 AM