Skip to content

migrate declaratives format - #742

Merged
mensfeld merged 2 commits into
masterfrom
update-declaratives
Aug 6, 2026
Merged

migrate declaratives format#742
mensfeld merged 2 commits into
masterfrom
update-declaratives

Conversation

@mensfeld

@mensfeld mensfeld commented Aug 6, 2026

Copy link
Copy Markdown
Member

No description provided.

@mensfeld
mensfeld requested a lite review from Copilot August 6, 2026 09:22
@mensfeld mensfeld self-assigned this Aug 6, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Migrates the Karafka 2.6 Rails example app from route-embedded topic settings to the newer declarative topics format, separating Kafka infrastructure definition (partitions/topic configs) from consumer routing.

Changes:

  • Added a declaratives.draw block to define managed Kafka topics and their infrastructure (partitions + retention).
  • Simplified routing by removing per-topic partition configuration from routes.draw and using declaratives instead.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mensfeld
mensfeld merged commit 3e0effe into master Aug 6, 2026
13 checks passed
@mensfeld
mensfeld deleted the update-declaratives branch August 6, 2026 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants