Class DefaultTenantSanitizer

java.lang.Object
io.confluent.kafka.multitenant.audit.DefaultTenantSanitizer
All Implemented Interfaces:
TenantSanitizer, org.apache.kafka.common.Configurable

public class DefaultTenantSanitizer extends Object implements TenantSanitizer
These functions transform various pieces of internal information to remove internal implementation details. The result is a view of these objects that is safe to display to the tenant
  • Field Details

  • Constructor Details

    • DefaultTenantSanitizer

      public DefaultTenantSanitizer()
  • Method Details

    • tenantAuditEvent

      public org.apache.kafka.server.audit.AuditEvent tenantAuditEvent(org.apache.kafka.server.audit.AuditEvent auditEvent, String defaultKafkaClusterId)
      Specified by:
      tenantAuditEvent in interface TenantSanitizer
    • tenantAuditEvent

      public org.apache.kafka.server.audit.AuditEvent tenantAuditEvent(org.apache.kafka.server.audit.AuditEvent auditEvent)
      Specified by:
      tenantAuditEvent in interface TenantSanitizer
    • configure

      public void configure(Map<String,?> configs)
      Specified by:
      configure in interface org.apache.kafka.common.Configurable