Skip to content

Commit

Permalink
rename : modules to align with technology used
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli committed Apr 11, 2024
1 parent 426a4a5 commit d83c1bc
Show file tree
Hide file tree
Showing 47 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
- any-glob-to-any-file: 'kafka-streams/**/*'
"component : cloud":
- changed-files:
- any-glob-to-any-file: 'kafka-cloud/**/*'
- any-glob-to-any-file: 'kafka-spring-cloud-sample/**/*'
"component : modulith":
- changed-files:
- any-glob-to-any-file: 'kafka-modulith-outbox-pattern/**/*'
- any-glob-to-any-file: 'spring-modulith-outbox-pattern/**/*'
"type: documentation":
- changed-files:
- any-glob-to-any-file: 'docs/**/*'
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: kafka-spring-boot
name: spring-boot-kafka-sample

on:
push:
paths:
- "kafka-spring-boot/spring-boot-sample/**"
- "kafka-spring-boot/boot-kafka-sample/**"
branches: [ main ]
pull_request:
paths:
- "kafka-spring-boot/spring-boot-sample/**"
- "kafka-spring-boot/boot-kafka-sample/**"
types:
- opened
- synchronize
Expand All @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: "kafka-spring-boot/spring-boot-sample"
working-directory: "kafka-spring-boot/boot-kafka-sample"
steps:
- uses: actions/checkout@v4
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: kafka-spring-cloud-sample
on:
push:
paths:
- "spring-cloud/**"
- "kafka-spring-cloud-sample/**"
branches: [ main ]
pull_request:
paths:
- "spring-cloud/**"
- "kafka-spring-cloud-sample/**"
types:
- opened
- synchronize
Expand All @@ -18,9 +18,9 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: "spring-cloud"
working-directory: "kafka-spring-cloud-sample"
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK
Expand Down
2 changes: 1 addition & 1 deletion kafka-spring-boot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ This folder contains sample kafka producer and consumer using java, spring & Spr

| Type | Description |
|------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------|
| [Spring Boot](./spring-boot) | Producing and consuming Messages using Spring Boot |
| [Spring Boot Kafka Sample](./boot-kafka-sample) | Producing and consuming Messages using Spring Boot |
| [Multiple Producers & Consumers](./spring-boot-multiple-producers-consumers) | Producing and consuming Messages from Multiple Producer and consumers using Spring Boot |
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.example</groupId>
<artifactId>spring-boot-kafka-sample</artifactId>
<artifactId>boot-kafka-sample</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>spring-boot-kafka-sample</name>
<name>boot-kafka-sample</name>
<description>Demo project for Spring Boot</description>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public List<TopicInfo> getTopicsWithPartitions(boolean showInternalTopics) {
topicDescriptionMap.forEach((topicName, topicDescription) -> {
int partitionCount = topicDescription.partitions().size();
int replicationCount =
topicDescription.partitions().get(0).replicas().size();
topicDescription.partitions().getFirst().replicas().size();
topicPartitionCounts.add(new TopicInfo(topicName, partitionCount, replicationCount));
});

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

# Kafka Spring Cloud Sample

### Run tests
```shell
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions spring-cloud/pom.xml → kafka-spring-cloud-sample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.example</groupId>
<artifactId>spring-cloud-kafka-sample</artifactId>
<artifactId>kafka-spring-cloud-sample</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>cloud-kafka-sample</name>
<name>kafka-cloud-sample</name>
<description>Demo project for Spring Boot with test stream</description>

<properties>
Expand Down

0 comments on commit d83c1bc

Please sign in to comment.