Fix/websocket capacity increase (#230)

* Fix invalid variable name invocation
* Fix error responses in websockets
* Increase websocket limits to 50MB max message.  Turn on Pulsar chunking by default.
This commit is contained in:
cybermaggedon 2024-12-29 18:08:12 +00:00 committed by GitHub
parent 21e7b856c4
commit 187b0e6581
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 29 additions and 13 deletions

View file

@ -66,6 +66,7 @@ class ConsumerProducer(BaseProcessor):
self.producer = self.client.create_producer(
topic=output_queue,
schema=JsonSchema(output_schema),
chunking_enabled=True,
)
self.consumer = self.client.subscribe(

View file

@ -34,6 +34,7 @@ class Producer(BaseProcessor):
self.producer = self.client.create_producer(
topic=output_queue,
schema=JsonSchema(output_schema),
chunking_enabled=True,
)
def send(self, msg, properties={}):