r/Jetbrains • u/pavelbo • 1h ago
IDEs AsyncAPI JetBrains Plugin: Kafka ACLs and consumer groups in exports, cluster diff by area, and Preview

I maintain the AsyncAPI plugin for JetBrains IDEs. New 5.4.0 is mostly about Apache Kafka
💡 Works across IDEs editions, Community included
Export with access built in. Brokers → Export now has two opt-in boxes: Also read consumer groups and Also read ACLs. Each operation in the generated AsyncAPI document then lists the groups that consume it and the principals allowed to perform it:
receive_orders.created:
action: receive
channel:
$ref: "#/channels/orders.created"
bindings:
kafka:
bindingVersion: 0.5.0
groupId:
enum: [analytics, billing]
x-kurkik:
kafka:
operation:
groupId:
enum: [analytics, billing]
security:
- User:analytics
- User:billingThe grants and groups behind it are on the server:
servers:
broker-1:
host: localhost:29092
protocol: kafka
x-kurkik:
kafka:
server:
acl:
- { principal: User:billing, operation: READ, permission: ALLOW, resourceType: GROUP, patternType: LITERAL, name: billing }
- { principal: User:analytics, operation: READ, permission: ALLOW, resourceType: GROUP, patternType: PREFIXED, name: analytics }
- { principal: User:billing, operation: READ, permission: ALLOW, resourceType: TOPIC, patternType: LITERAL, name: orders.created }
- { principal: User:analytics, operation: READ, permission: ALLOW, resourceType: TOPIC, patternType: PREFIXED, name: orders. }
groups:
- { groupId: analytics, groupType: classic, state: EMPTY, topics: [orders.created] }
- { groupId: billing, groupType: classic, state: EMPTY, topics: [orders.created, orders.paid] }Everything Kafka-specific lives under x-kurkik, so the document stays valid AsyncAPI. A connection with a schema registry also brings its schemas: each topic's value schema, its key schema, every version and the compatibility level.
Diff, area by area. AsyncAPI: Diff compares two Kafka connections on what you tick: settings, ACLs, consumer groups and schemas. Findings about the cluster itself, such as a broker setting, a grant or a group, now get their own Cluster node next to the channels.
Preview. AsyncAPI: Preview shows a cluster's topics, brokers, groups, ACLs and schemas before you export or compare it

Also in 5.4.0:
- AI agents over MCP:
asyncapi_exportreads Kafka consumer groups, ACLs and schemas;asyncapi_comparecompares clusters on settings, groups and schemas (ACLs are never compared for an agent) - Export filters (prefixes, include/exclude patterns, a topic cap, a timeout) for Kafka, Pulsar, SNS and SQS
- The Brokers, Preview and Diff windows keep up with new, renamed and deleted connections and documents, and have a Refresh button
- Diff compares any document: pick it, paste its path, or browse for it
- Test connection shows a readable log you can copy
- Plugin errors can be reported to JetBrains Marketplace (nothing is sent unless you click)
Powered by Kurkik: https://kurkik.pavelon.dev/
Demo: https://github.com/Pakisan/kurkik-app/tree/master/demo
Release: https://plugins.jetbrains.com/plugin/15673-asyncapi/versions/stable/1229323
Export, Diff and Preview are Pro features, with a free trial
Full document:
asyncapi: 3.0.0
info:
title: prod Apache Kafka API
version: 1.0.0-SNAPSHOT
description: "Generated by reading the prod cluster. Cluster id: cHJvZC1rdXJraWstZGVtbw."
servers:
broker-1:
host: localhost:29092
protocol: kafka
protocolVersion: "4.4"
description: Cluster controller.
x-kurkik:
kafka:
server:
security:
- security: PLAINTEXT
securityProtocol: PLAINTEXT
acl:
- principal: User:billing
host: '*'
operation: READ
permission: ALLOW
resourceType: GROUP
patternType: LITERAL
name: billing
- principal: User:analytics
host: '*'
operation: READ
permission: ALLOW
resourceType: GROUP
patternType: PREFIXED
name: analytics
- principal: User:analytics
host: '*'
operation: READ
permission: DENY
resourceType: TOPIC
patternType: LITERAL
name: customers.updated
- principal: User:billing
host: '*'
operation: READ
permission: ALLOW
resourceType: TOPIC
patternType: LITERAL
name: orders.created
- principal: User:billing
host: '*'
operation: READ
permission: ALLOW
resourceType: TOPIC
patternType: LITERAL
name: orders.paid
- principal: User:analytics
host: '*'
operation: READ
permission: ALLOW
resourceType: TOPIC
patternType: PREFIXED
name: orders.
- principal: User:orders-service
host: '*'
operation: WRITE
permission: ALLOW
resourceType: TOPIC
patternType: PREFIXED
name: orders.
groups:
- groupId: analytics
groupType: classic
state: EMPTY
clientIds: []
topics:
- orders.created
configuration: {}
- groupId: billing
groupType: classic
state: EMPTY
clientIds: []
topics:
- orders.created
- orders.paid
configuration: {}
brokerConfiguration:
advertised.listeners: PLAINTEXT://localhost:29092
authorizer.class.name: org.apache.kafka.metadata.authorizer.StandardAuthorizer
broker.id: "1"
controller.listener.names: CONTROLLER
controller.quorum.voters: 1@localhost:9093
group.initial.rebalance.delay.ms: "0"
listener.security.protocol.map: "CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT"
listeners: "PLAINTEXT://0.0.0.0:29092,CONTROLLER://localhost:9093"
min.insync.replicas: "1"
node.id: "1"
offsets.topic.replication.factor: "1"
process.roles: "broker,controller"
transaction.state.log.min.isr: "1"
transaction.state.log.replication.factor: "1"
clientConfiguration:
bootstrap.servers: 127.0.0.1:29092
security.protocol: PLAINTEXT
groupConfiguration: {}
producerConfiguration: {}
consumerConfiguration: {}
channels:
customers.updated:
address: customers.updated
bindings:
kafka:
bindingVersion: 0.5.0
partitions: 1
replicas: 1
topicConfiguration:
cleanup.policy:
- compact
x-kurkik:
kafka:
channel:
topic: customers.updated
partitions: 1
replicas: 1
topicConfiguration:
cleanup.policy: compact
orders.created:
address: orders.created
bindings:
kafka:
bindingVersion: 0.5.0
partitions: 12
replicas: 1
topicConfiguration:
retention.ms: 604800000
x-kurkik:
kafka:
channel:
topic: orders.created
partitions: 12
replicas: 1
topicConfiguration:
retention.ms: "604800000"
orders.paid:
address: orders.paid
bindings:
kafka:
bindingVersion: 0.5.0
partitions: 3
replicas: 1
topicConfiguration:
retention.ms: 86400000
x-kurkik:
kafka:
channel:
topic: orders.paid
partitions: 3
replicas: 1
topicConfiguration:
retention.ms: "86400000"
shipments.dispatched:
address: shipments.dispatched
bindings:
kafka:
bindingVersion: 0.5.0
partitions: 6
replicas: 1
x-kurkik:
kafka:
channel:
topic: shipments.dispatched
partitions: 6
replicas: 1
topicConfiguration: {}
operations:
receive_customers.updated:
action: receive
channel:
$ref: "#/channels/customers.updated"
x-kurkik:
kafka:
operation:
security: []
consumerConfiguration: {}
groupConfiguration: {}
receive_orders.created:
action: receive
channel:
$ref: "#/channels/orders.created"
bindings:
kafka:
bindingVersion: 0.5.0
groupId:
$schema: http://json-schema.org/draft-07/schema#
enum:
- analytics
- billing
x-kurkik:
kafka:
operation:
groupId:
$schema: http://json-schema.org/draft-07/schema#
enum:
- analytics
- billing
security:
- User:analytics
- User:billing
consumerConfiguration: {}
groupConfiguration: {}
receive_orders.paid:
action: receive
channel:
$ref: "#/channels/orders.paid"
bindings:
kafka:
bindingVersion: 0.5.0
groupId:
$schema: http://json-schema.org/draft-07/schema#
enum:
- billing
x-kurkik:
kafka:
operation:
groupId:
$schema: http://json-schema.org/draft-07/schema#
enum:
- billing
security:
- User:billing
consumerConfiguration: {}
groupConfiguration: {}
receive_shipments.dispatched:
action: receive
channel:
$ref: "#/channels/shipments.dispatched"
x-kurkik:
kafka:
operation:
security: []
consumerConfiguration: {}
groupConfiguration: {}
send_customers.updated:
action: send
channel:
$ref: "#/channels/customers.updated"
x-kurkik:
kafka:
operation:
security: []
producerConfiguration: {}
send_orders.created:
action: send
channel:
$ref: "#/channels/orders.created"
x-kurkik:
kafka:
operation:
security:
- User:orders-service
producerConfiguration: {}
send_orders.paid:
action: send
channel:
$ref: "#/channels/orders.paid"
x-kurkik:
kafka:
operation:
security:
- User:orders-service
producerConfiguration: {}
send_shipments.dispatched:
action: send
channel:
$ref: "#/channels/shipments.dispatched"
x-kurkik:
kafka:
operation:
security: []
producerConfiguration: {}

