Closed shailesh-bear closed 5 months ago
Hi @shailesh-bear I think max_packet_size = "2MB"
will be work, like this:
apiVersion: apps.emqx.io/v2beta1
kind: EMQX
metadata:
name: emqx
spec:
image: emqx:5
config:
data: |-
mqtt {
peer_cert_as_username = "cn"
max_packet_size = "2MB"
}
@Rory-Z Yes that worked! Thanks
Describe the bug
To Reproduce
Set EMQX config as:
The following Kubernetes config
emqx-cluster-configs
is created as:mqtt:{peer_cert_as_username:cn, max_packet_size:2""MB}
Note how the max packet size is rendered above as2""MB
EMQX node logs:
Expected behavior EMQX config should be correctly set and EMQX should run.
Anything else we need to know?: Cannot be reproduced with 2.2.3
Environment details::