Skip to content

Commit f88ef7e

Browse files
Added database to the url. Fixes #14. (#15)
1 parent 911d439 commit f88ef7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/github/jcustenborder/kafka/connect/redis/RedisConnectorConfig.java

+1
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ public List<RedisURI> redisURIs() {
218218
RedisURI.Builder builder = RedisURI.builder();
219219
builder.withHost(host.getHost());
220220
builder.withPort(host.getPort());
221+
builder.withDatabase(this.database);
221222
if (!Strings.isNullOrEmpty(this.password)) {
222223
builder.withPassword(this.password);
223224
}

0 commit comments

Comments
 (0)