poolConfig = createPoolConfig(redisProperties);
JedisClientConfiguration clientConfiguration = JedisClientConfiguration.builder()
.usePooling()
- .poolConfig(poolConfig)
+ .poolConfig(createPoolConfig(redisProperties))
.build();
return Optional.ofNullable(getSentinelConfig(redisProperties))
diff --git a/binders/spring-cloud-stream-binder-redis-core/src/test/java/io/github/guoshiqiufeng/cloud/stream/binder/redis/properties/RedisBinderConfigurationPropertiesTest.java b/binders/spring-cloud-stream-binder-redis-core/src/test/java/io/github/guoshiqiufeng/cloud/stream/binder/redis/properties/RedisBinderConfigurationPropertiesTest.java
index 4e01a1d..2486901 100644
--- a/binders/spring-cloud-stream-binder-redis-core/src/test/java/io/github/guoshiqiufeng/cloud/stream/binder/redis/properties/RedisBinderConfigurationPropertiesTest.java
+++ b/binders/spring-cloud-stream-binder-redis-core/src/test/java/io/github/guoshiqiufeng/cloud/stream/binder/redis/properties/RedisBinderConfigurationPropertiesTest.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright (c) 2023-2024, fubluesky (fubluesky@foxmail.com)
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package io.github.guoshiqiufeng.cloud.stream.binder.redis.properties;
/**
diff --git a/binders/spring-cloud-stream-binder-redis/src/main/java/io/github/guoshiqiufeng/cloud/stream/binder/redis/RedisMessageChannelBinder.java b/binders/spring-cloud-stream-binder-redis/src/main/java/io/github/guoshiqiufeng/cloud/stream/binder/redis/RedisMessageChannelBinder.java
index 44a772f..4a34a60 100644
--- a/binders/spring-cloud-stream-binder-redis/src/main/java/io/github/guoshiqiufeng/cloud/stream/binder/redis/RedisMessageChannelBinder.java
+++ b/binders/spring-cloud-stream-binder-redis/src/main/java/io/github/guoshiqiufeng/cloud/stream/binder/redis/RedisMessageChannelBinder.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright (c) 2023-2024, fubluesky (fubluesky@foxmail.com)
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package io.github.guoshiqiufeng.cloud.stream.binder.redis;
import io.github.guoshiqiufeng.cloud.stream.binder.redis.properties.RedisBinderConfigurationProperties;
diff --git a/binders/spring-cloud-stream-binder-redis/src/main/java/io/github/guoshiqiufeng/cloud/stream/binder/redis/aot/RedisBinderRuntimeHints.java b/binders/spring-cloud-stream-binder-redis/src/main/java/io/github/guoshiqiufeng/cloud/stream/binder/redis/aot/RedisBinderRuntimeHints.java
index 3c3d685..331d114 100644
--- a/binders/spring-cloud-stream-binder-redis/src/main/java/io/github/guoshiqiufeng/cloud/stream/binder/redis/aot/RedisBinderRuntimeHints.java
+++ b/binders/spring-cloud-stream-binder-redis/src/main/java/io/github/guoshiqiufeng/cloud/stream/binder/redis/aot/RedisBinderRuntimeHints.java
@@ -1,28 +1,48 @@
-//package io.github.guoshiqiufeng.stream.binder.redis.aot;
-//
-//import io.github.guoshiqiufeng.stream.binder.redis.properties.RedisBindingProperties;
-//import io.github.guoshiqiufeng.stream.binder.redis.properties.RedisConsumerProperties;
-//import io.github.guoshiqiufeng.stream.binder.redis.properties.RedisExtendedBindingProperties;
-//import io.github.guoshiqiufeng.stream.binder.redis.properties.RedisProducerProperties;
-//
-//import java.util.stream.Stream;
-//
-///**
-// * @author yanghq
-// * @version 1.0
-// * @since 2024/8/28 10:52
-// */
-//public class RedisBinderRuntimeHints implements RuntimeHintsRegistrar {
-//
-// @Override
-// public void registerHints(RuntimeHints hints, @Nullable ClassLoader classLoader) {
-// ReflectionHints reflectionHints = hints.reflection();
-// Stream.of(
-// RedisConsumerProperties.class,
-// RedisProducerProperties.class,
-// RedisExtendedBindingProperties.class,
-// RedisBindingProperties.class)
-// .forEach(type -> reflectionHints.registerType(type,
-// builder -> builder.withMembers(MemberCategory.INVOKE_DECLARED_METHODS)));
-// }
-//}
+/*
+ * Copyright (c) 2023-2024, fubluesky (fubluesky@foxmail.com)
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package io.github.guoshiqiufeng.cloud.stream.binder.redis.aot;
+
+import io.github.guoshiqiufeng.cloud.stream.binder.redis.properties.RedisBindingProperties;
+import io.github.guoshiqiufeng.cloud.stream.binder.redis.properties.RedisConsumerProperties;
+import io.github.guoshiqiufeng.cloud.stream.binder.redis.properties.RedisExtendedBindingProperties;
+import io.github.guoshiqiufeng.cloud.stream.binder.redis.properties.RedisProducerProperties;
+import jakarta.annotation.Nullable;
+import org.springframework.aot.hint.MemberCategory;
+import org.springframework.aot.hint.ReflectionHints;
+import org.springframework.aot.hint.RuntimeHints;
+import org.springframework.aot.hint.RuntimeHintsRegistrar;
+
+import java.util.stream.Stream;
+
+/**
+ * @author yanghq
+ * @version 1.0
+ * @since 2024/8/28 10:52
+ */
+public class RedisBinderRuntimeHints implements RuntimeHintsRegistrar {
+
+ @Override
+ public void registerHints(RuntimeHints hints, @Nullable ClassLoader classLoader) {
+ ReflectionHints reflectionHints = hints.reflection();
+ Stream.of(
+ RedisConsumerProperties.class,
+ RedisProducerProperties.class,
+ RedisExtendedBindingProperties.class,
+ RedisBindingProperties.class)
+ .forEach(type -> reflectionHints.registerType(type,
+ builder -> builder.withMembers(MemberCategory.INVOKE_DECLARED_METHODS)));
+ }
+}
diff --git a/binders/spring-cloud-stream-binder-redis/src/main/java/io/github/guoshiqiufeng/cloud/stream/binder/redis/config/ExtendedBindingHandlerMappingsProviderConfiguration.java b/binders/spring-cloud-stream-binder-redis/src/main/java/io/github/guoshiqiufeng/cloud/stream/binder/redis/config/ExtendedBindingHandlerMappingsProviderConfiguration.java
index 957b88c..1de80dd 100644
--- a/binders/spring-cloud-stream-binder-redis/src/main/java/io/github/guoshiqiufeng/cloud/stream/binder/redis/config/ExtendedBindingHandlerMappingsProviderConfiguration.java
+++ b/binders/spring-cloud-stream-binder-redis/src/main/java/io/github/guoshiqiufeng/cloud/stream/binder/redis/config/ExtendedBindingHandlerMappingsProviderConfiguration.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright (c) 2023-2024, fubluesky (fubluesky@foxmail.com)
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package io.github.guoshiqiufeng.cloud.stream.binder.redis.config;
import org.springframework.boot.context.properties.source.ConfigurationPropertyName;
diff --git a/binders/spring-cloud-stream-binder-redis/src/main/java/io/github/guoshiqiufeng/cloud/stream/binder/redis/config/RedisBinderConfiguration.java b/binders/spring-cloud-stream-binder-redis/src/main/java/io/github/guoshiqiufeng/cloud/stream/binder/redis/config/RedisBinderConfiguration.java
index 278202f..7ede666 100644
--- a/binders/spring-cloud-stream-binder-redis/src/main/java/io/github/guoshiqiufeng/cloud/stream/binder/redis/config/RedisBinderConfiguration.java
+++ b/binders/spring-cloud-stream-binder-redis/src/main/java/io/github/guoshiqiufeng/cloud/stream/binder/redis/config/RedisBinderConfiguration.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright (c) 2023-2024, fubluesky (fubluesky@foxmail.com)
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package io.github.guoshiqiufeng.cloud.stream.binder.redis.config;
import io.github.guoshiqiufeng.cloud.stream.binder.redis.RedisMessageChannelBinder;
diff --git a/docs/README.md b/docs/README.md
new file mode 100644
index 0000000..72c76ac
--- /dev/null
+++ b/docs/README.md
@@ -0,0 +1,27 @@
+---
+lang: zh-CN
+home: true
+title: 首页
+#heroImage: /images/logo.png
+actions:
+ - text: 快速开始
+ link: /guide/getting-started.html
+ type: primary
+ - text: 项目简介
+ link: /guide/index.html
+ type: secondary
+features:
+ - title: 统一规范
+ details: 基于Spring Cloud Stream 规范开发
+ - title: 快速集成
+ details: 基于Spring Cloud 快速集成。
+footer: Apache License 2.0 | Copyright © 2023-present fubluesky
+---
+
+### 最新版本
+
+
+[](https://search.maven.org/search?q=g:io.github.guoshiqiufeng%20AND%20a:spring-cloud-starter-stream-redis)
+[](https://github.com/guoshiqiufeng/spring-cloud-stream-redis)
+
+
diff --git a/docs/en/README.md b/docs/en/README.md
new file mode 100644
index 0000000..5352076
--- /dev/null
+++ b/docs/en/README.md
@@ -0,0 +1,29 @@
+---
+lang: en-US
+home: true
+title: Home
+#heroImage: /images/f.png
+actions:
+ - text: Get Started
+ link: /en/guide/getting-started.html
+ type: primary
+ - text: Project Introduction
+ link: /guide/index.html
+ type: secondary
+features:
+ - title: Standardize
+ details: Developed based on Spring Cloud Stream specification
+ - title: Rapid Integration
+ details: Fast integration based on Spring Cloud.
+footer: Apache License 2.0 | Copyright © 2023-present fubluesky
+---
+
+
+### Latest version
+
+
+
+[](https://search.maven.org/search?q=g:io.github.guoshiqiufeng%20AND%20a:spring-cloud-starter-stream-redis)
+[](https://github.com/guoshiqiufeng/spring-cloud-stream-redis)
+
+
diff --git a/gradle.properties b/gradle.properties
index a9c3337..feda146 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,4 +1,4 @@
# {x-release-please-start-version}
-APP_VERSION=1.0.0-SNAPSHOT
+APP_VERSION=0.1.0
# {x-release-please-end-version}
APP_GROUP=io.github.guoshiqiufeng.cloud
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index a441313..9355b41 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
diff --git a/settings.gradle b/settings.gradle
index dc45bd0..9c7ca73 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -10,8 +10,8 @@ buildscript {
//noinspection DifferentKotlinGradleVersion
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.21"
classpath "gradle.plugin.com.hierynomus.gradle.plugins:license-gradle-plugin:0.16.1"
- classpath "io.freefair.gradle:lombok-plugin:8.4"
- classpath "io.spring.gradle:dependency-management-plugin:1.1.3"
+ classpath "io.freefair.gradle:lombok-plugin:8.10"
+ classpath "io.spring.gradle:dependency-management-plugin:1.1.6"
}
}