aiven kafka setup avn

Other Community

Skill notes

1.1 Verify avn CLI login

Run the following to check if the user is logged in: If the command fails, inspect the error and guide the user accordingly: STOP and wait for the user to confirm login before proceeding.

1.2 Required tools

Verify the following are installed: avn (Aiven CLI) - At least version 4.7.0 or later is required. jq (JSON processing) For Java: java (17+), mvn For Python: python3 (3.9+), pip

Step 2: Create the Kafka Service and Export Environment Variables

Follow SERVICE_CREATION_AVN.md sections 1–4 in order: Choose a service name (if missing) — if the customer did not provide a service name, use AskQuestion with: aiven-kafka-service-test Other (if selected, ask the customer to provide their custom service name) Choose a region — ask the user with AskQuestion, mapping their choice to the EXACT CLOUD_NAME from the table in SERVICE_CREATION_AVN.md.

Step 3: Create and Run the Working Example

MANDATORY: This step is NOT optional. After the Kafka service is running and environment variables are exported, you MUST create a working producer/consumer example, compile/install it, generate test data, and run it end-to-end. Default language is Java unless the user explicitly requests Python.

3.1 Ask the user which language to use

Use the AskQuestion tool: If the user requests a language other than Java or Python, warn them: "Results with languages other than Java or Python are unpredictable. It is recommended to use Java or Python for reliable results." If the user does not answer or skips, default to Java.

Fluxly profile Runtime and permissions are inferred by Fluxly static checks, not author declarations or runtime test results.
Domain
Other
Author-declared agents
No explicit declaration found; this is not inferred or tested compatibility
Static check
88 / 100 · heuristic scan, not runtime safety proof
Runtime evidence
Not run; no isolated runtime test evidence is currently recorded
Author / version / license
@tomevault-io · no license declared
Token usage
Lean
Setup complexity
Guided setup
External API key
Not required
Operating systems
Unspecified (assume cross-platform)
Runtime requirements
Python
Detected file/system behavior
  • Read-only
  • Write / modify
  • Shell exec
  • Env read
Network behavior
Local-only
Install commands
None (reference only)

Heads up: Tool permissions are not declared; actual access depends on the runtime.

Output preview aiven-kafka-setup-avn.preview
# Step 3: Create and Run the Working Example

> **MANDATORY**: This step is NOT optional. After the Kafka service is running and > environment variables are exported, you MUST create a working producer/consumer > example, compile/install it, generate test data, and run it end-to-end. > **Default language is Java** unless the user explicitly requests Python.

Discussion

Powered by GitHub Discussions. Sign in with GitHub to comment, react, or subscribe.