-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Repackage blocking clients to prepare for introducing non-blocking cl…
…ients
- Loading branch information
1 parent
1f34ac5
commit 09230ad
Showing
43 changed files
with
116 additions
and
122 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
4 changes: 3 additions & 1 deletion
4
...y/consumergroup/ConsumerGroupsClient.java → ...lients/blocking/ConsumerGroupsClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...consumeroffset/ConsumerOffsetsClient.java → ...ients/blocking/ConsumerOffsetsClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package rs.iggy.clients.blocking; | ||
|
||
public interface IggyClient { | ||
|
||
SystemClient system(); | ||
|
||
StreamsClient streams(); | ||
|
||
UsersClient users(); | ||
|
||
TopicsClient topics(); | ||
|
||
PartitionsClient partitions(); | ||
|
||
ConsumerGroupsClient consumerGroups(); | ||
|
||
ConsumerOffsetsClient consumerOffsets(); | ||
|
||
MessagesClient messages(); | ||
|
||
} |
6 changes: 5 additions & 1 deletion
6
.../java/rs/iggy/message/MessagesClient.java → ...iggy/clients/blocking/MessagesClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...a/rs/iggy/partition/PartitionsClient.java → ...gy/clients/blocking/PartitionsClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
...in/java/rs/iggy/stream/StreamsClient.java → .../iggy/clients/blocking/StreamsClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
...ain/java/rs/iggy/system/SystemClient.java → ...s/iggy/clients/blocking/SystemClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
...main/java/rs/iggy/topic/TopicsClient.java → ...s/iggy/clients/blocking/TopicsClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
src/main/java/rs/iggy/user/UsersClient.java → ...rs/iggy/clients/blocking/UsersClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...s/iggy/http/ConsumerGroupsHttpClient.java → ...ocking/http/ConsumerGroupsHttpClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
.../iggy/http/ConsumerOffsetsHttpClient.java → ...cking/http/ConsumerOffsetsHttpClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 2 additions & 10 deletions
12
...ain/java/rs/iggy/http/IggyHttpClient.java → ...clients/blocking/http/IggyHttpClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 6 additions & 2 deletions
8
...java/rs/iggy/http/MessagesHttpClient.java → ...nts/blocking/http/MessagesHttpClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ava/rs/iggy/http/ObjectMapperFactory.java → ...ts/blocking/http/ObjectMapperFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...va/rs/iggy/http/PartitionsHttpClient.java → ...s/blocking/http/PartitionsHttpClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
.../java/rs/iggy/http/StreamsHttpClient.java → ...ents/blocking/http/StreamsHttpClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...n/java/rs/iggy/http/SystemHttpClient.java → ...ients/blocking/http/SystemHttpClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...n/java/rs/iggy/http/TopicsHttpClient.java → ...ients/blocking/http/TopicsHttpClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...in/java/rs/iggy/http/UsersHttpClient.java → ...lients/blocking/http/UsersHttpClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ava/rs/iggy/http/error/IggyHttpError.java → ...ts/blocking/http/error/IggyHttpError.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...rs/iggy/http/error/IggyHttpException.java → ...locking/http/error/IggyHttpException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/java/rs/iggy/http/package-info.java → ...y/clients/blocking/http/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@NonNullApi | ||
package rs.iggy.http; | ||
package rs.iggy.clients.blocking.http; | ||
|
||
import rs.iggy.NonNullApi; |
12 changes: 2 additions & 10 deletions
12
src/main/java/rs/iggy/tcp/IggyTcpClient.java → ...y/clients/blocking/tcp/IggyTcpClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...main/java/rs/iggy/tcp/UsersTcpClient.java → .../clients/blocking/tcp/UsersTcpClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/java/rs/iggy/tcp/package-info.java → ...gy/clients/blocking/tcp/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@NonNullApi | ||
package rs.iggy.tcp; | ||
package rs.iggy.clients.blocking.tcp; | ||
|
||
import rs.iggy.NonNullApi; |
4 changes: 2 additions & 2 deletions
4
...ergroup/ConsumerGroupsClientBaseTest.java → ...locking/ConsumerGroupsClientBaseTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/test/java/rs/iggy/IntegrationTest.java → ...ggy/clients/blocking/IntegrationTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 5 additions & 2 deletions
7
.../iggy/message/MessagesClientBaseTest.java → ...ents/blocking/MessagesClientBaseTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...y/partition/PartitionsClientBaseTest.java → ...ts/blocking/PartitionsClientBaseTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
.../rs/iggy/stream/StreamClientBaseTest.java → ...lients/blocking/StreamClientBaseTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
...a/rs/iggy/topic/TopicsClientBaseTest.java → ...lients/blocking/TopicsClientBaseTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
...ava/rs/iggy/user/UsersClientBaseTest.java → ...clients/blocking/UsersClientBaseTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.