gzip will cap 1 MB/s with the strongest compression setting and 50 MB/s with the fastest setting, which is really slow.
The first step to improve kafka is for kafka to adopt zstd compression.
Another thing that really hurts is SSL. Desktop CPU with AES instructions can push 1 GB/s so it's not too bad, but that may not the the CPU you have or the default algorithm used by the software.