better error management

This commit is contained in:
nheron 2021-02-19 17:50:54 +01:00
commit 279cd83086
2 changed files with 4 additions and 2 deletions

View file

@ -118,7 +118,7 @@ public class DroolsBusinessProxyServer {
ProducerConfig.VALUE_SERIALIZER_CLASS_CONFIG,
JsonSerializer.class);
configProps.put(
ProducerConfig.MAX_REQUEST_SIZE_CONFIG, 4655826);
ProducerConfig.MAX_REQUEST_SIZE_CONFIG, 41943040);
if (activateSsl) {
configProps.put(CommonClientConfigs.SECURITY_PROTOCOL_CONFIG, SecurityProtocol.SSL.name);

View file

@ -60,8 +60,10 @@ public class RuleService {
kafkaTemplateLogging.send(KafkaTopicConstants.LOGING_TOPIC,chtijbugObjectRequest);
}catch (Exception e){
logger.error(" kafkaTemplateLogging.send",e);
}
}finally {
return chtijbutObjectResponse.getObjectRequest();
}
}
}