Merge pull request #224 from pymma/kafka

better error management
This commit is contained in:
Nicolas Héron 2021-02-19 17:51:41 +01:00 committed by GitHub
commit 6d493b0688
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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();
}
}
}