Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The --allow-host and --deny-host options in kafka-acls.sh will accept CIDR notation alongside the existing formats:

it
FormatExampleWhat
is does
Exact IPv4192.168.1.100Matches one address (already works)
Exact IPv62001:db8::1Matches one address (already works)
Wildcard*Matches everything (already works)
IPv4 CIDR192.168.0.0/24Matches a subnet (new)
IPv6 CIDR2001:db8::/32Matches a subnet (new)

Admin Client API

For programmatic use via the Admin Client, nothing changes in the API signatures. CIDR notation goes where a host would normally go:

...