Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release] Release v1.6(3.7.0.1.6) #12

Merged
merged 2 commits into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kafka-plus-autoconfigure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.photowey</groupId>
<artifactId>kafka-plus</artifactId>
<version>3.7.0.1.5</version>
<version>3.7.0.1.6</version>
</parent>

<artifactId>kafka-plus-autoconfigure</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion kafka-plus-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.photowey</groupId>
<artifactId>kafka-plus</artifactId>
<version>3.7.0.1.5</version>
<version>3.7.0.1.6</version>
</parent>

<artifactId>kafka-plus-core</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,24 @@ default ConsumerBuilder strategy(Class<?> strategy) {

// ----------------------------------------------------------------

/**
* Enhance custom property configs.
*
* @param fx the callback.
* @return {@link ConsumerBuilder}
*/
ConsumerBuilder enhanceProps(Consumer<Properties> fx);

/**
* Enhance custom configs.
*
* @param fx the callback.
* @return {@link ConsumerBuilder}
*/
ConsumerBuilder enhanceConfigs(Consumer<Map<String, Object>> fx);

// ----------------------------------------------------------------

/**
* Check custom property configs.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,28 @@ public ConsumerBuilder configs(Map<String, Object> configs) {

// ----------------------------------------------------------------

@Override
public ConsumerBuilder enhanceProps(Consumer<Properties> fx) {
checkNotNull("enhanceProps.fx", fx);
if (null != super.props) {
fx.accept(super.props);
}

return this;
}

@Override
public ConsumerBuilder enhanceConfigs(Consumer<Map<String, Object>> fx) {
checkNotNull("enhanceConfigs.fx", fx);
if (null != super.configs) {
fx.accept(super.configs);
}

return this;
}

// ----------------------------------------------------------------

@Override
public ConsumerBuilder checkProps(Consumer<Properties> fx) {
checkNotNull("checkProps.fx", fx);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,15 +274,15 @@ default ProducerBuilder deliveryTimeoutMs(long timeout, TimeUnit unit) {
* Check custom property configs.
*
* @param fx the callback.
* @return {@link ConsumerBuilder}
* @return {@link ProducerBuilder}
*/
ProducerBuilder checkProps(Consumer<Properties> fx);

/**
* Check custom configs.
*
* @param fx the callback.
* @return {@link ConsumerBuilder}
* @return {@link ProducerBuilder}
*/
ProducerBuilder checkConfigs(Consumer<Map<String, Object>> fx);

Expand Down
2 changes: 1 addition & 1 deletion kafka-plus-engine/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.photowey</groupId>
<artifactId>kafka-plus</artifactId>
<version>3.7.0.1.5</version>
<version>3.7.0.1.6</version>
</parent>

<artifactId>kafka-plus-engine</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion kafka-plus-jackson/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.photowey</groupId>
<artifactId>kafka-plus</artifactId>
<version>3.7.0.1.5</version>
<version>3.7.0.1.6</version>
</parent>

<artifactId>kafka-plus-jackson</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion kafka-plus-runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.photowey</groupId>
<artifactId>kafka-plus</artifactId>
<version>3.7.0.1.5</version>
<version>3.7.0.1.6</version>
</parent>

<artifactId>kafka-plus-runtime</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion kafkaplus-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.photowey</groupId>
<artifactId>kafka-plus</artifactId>
<version>3.7.0.1.5</version>
<version>3.7.0.1.6</version>
</parent>

<artifactId>kafkaplus-spring-boot-starter</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion kafkaplus-spring-boot3-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.photowey</groupId>
<artifactId>kafka-plus</artifactId>
<version>3.7.0.1.5</version>
<version>3.7.0.1.6</version>
</parent>

<artifactId>kafkaplus-spring-boot3-starter</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>io.github.photowey</groupId>
<artifactId>kafka-plus</artifactId>
<!-- ${kafka.version}.x.y -->
<version>3.7.0.1.5</version>
<version>3.7.0.1.6</version>
<packaging>pom</packaging>

<name>${project.groupId}:${project.artifactId}</name>
Expand Down
Loading