I am having frequent timeouts from storm spout to AWS SQS calls and i was recommended to put below java security properties for the application.
java.security.Security.setProperty("networkaddress.cache.ttl" , "5");
java.security.Security.setProperty("networkaddress.cache.negative.ttl" , "0");

Can you please suggest the best way to set these properties and how?
Can we set these from storm.yaml?
Pradeep S