I am facing an issue while sending a huge json (~40MB) from Kafa producer to consumer.
I referred other similar posts on StackOverflow but still unable to succeed.
I set these parameters in my Producer and Consumer:
producer = KafkaProducer(bootstrap_servers = kafkaConf.bootstrap_servers, value_serializer = lambda v: json.dumps(v).encode('utf-8'),max_request_size=101626282, buffer_memory=101626282)
consumer = KafkaConsumer(value_deserializer=lambda m: json.loads(m.decode('utf-8')),fetch_max_bytes=101626282)
As you see I am allowing a max of ~100MB
I even compressed the data but still unsuccessful.
Could somebody help me in figuring out what else I need to configure?
I would really appreciate it.
Thanks!