spring-cloud / spring-cloud/spring-cloud-bus

Exclude kafka broker from starter

Open
#46 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
445
Forks
246
Avg merge
16h 25m
Merged PRs (30d)
5

Description

Spring Cloud Stream 1.1 (Brooklyn) doesn't require the kafka broker on the classpath if you aren't using partitions. We could exclude it and save 10MB (approximately) from every client jar that uses the bus and kafka.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by locating the starter dependency configuration for Spring Cloud Stream 1.1 and inspect how the Kafka broker is included; verify that clients not using partitions no longer receive it and that the resulting client JAR is about 10 MB smaller.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kafka, spring
Domain
backend, distributed-systems
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.