You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "rameeshm (via GitHub)" <gi...@apache.org> on 2026/10/01 02:08:47 UTC
Re: [PR] RANGER-5752:Audit dispatcher consumer dies on TopicAuthorizationException - container stays healthy, audits stop flowing [ranger]
rameeshm commented on code in PR #1231:
URL: https://github.com/apache/ranger/pull/1231#discussion_r4151137560
##########
audit-server/audit-dispatcher/dispatcher-common/src/main/java/org/apache/ranger/audit/dispatcher/kafka/AuditDispatcherBase.java:
##########
@@ -102,10 +121,13 @@ public AuditDispatcherBase(Properties props, String propPrefix, String dispatche
topicName = MiscUtil.getStringProperty(props, propPrefix + "." + AuditServerConstants.PROP_TOPIC_NAME, AuditServerConstants.DEFAULT_TOPIC);
}
- AuditDispatcherBase(String dispatcherGroupId, KafkaConsumer<String, String> dispatcher, String topicName) {
- this.dispatcherGroupId = dispatcherGroupId;
- this.dispatcher = dispatcher;
- this.topicName = topicName;
+ AuditDispatcherBase(String dispatcherGroupId, KafkaConsumer<String, String> dispatcher, String topicName, long authzRetryDelayMs, long authnRetryDelayMs, long pollErrorRetryDelayMs) {
+ this.dispatcherGroupId = dispatcherGroupId;
+ this.dispatcher = dispatcher;
+ this.topicName = topicName;
+ this.authzRetryDelayMs = authzRetryDelayMs;
+ this.authnRetryDelayMs = authnRetryDelayMs;
+ this.pollErrorRetryDelayMs = pollErrorRetryDelayMs;
}
Review Comment:
@maheshbandal15 Thanks for the review. I have update to have only 3 args and pass the values for testing and won't have any separate constructor.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@ranger.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org