Is it possible to set a channel option via environ...
# micronaut
m
Is it possible to set a channel option via environment variable for a client? When I use this value (for a "price" service):
Copy code
MICRONAUT_HTTP_SERVICES_PRICE_CHANNEL_OPTIONS_SO_KEEPALIVE=false
I get the following error:
Copy code
WARN  io.netty.bootstrap.Bootstrap - Failed to set channel option 'SO_KEEPALIVE' with value 'false' for channel '[id: 0xf230c6ff]'
java.lang.ClassCastException: class java.lang.String cannot be cast to class java.lang.Boolean (java.lang.String and java.lang.Boolean are in module java.base of loader 'bootstrap')