Skip to content

Commit

Permalink
[INIT] setops를 위한 bean 등록
Browse files Browse the repository at this point in the history
  • Loading branch information
CessnaJ committed Jan 21, 2024
1 parent 1712c94 commit a8fc8d8
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import org.springframework.data.redis.connection.*;
import org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory;
import org.springframework.data.redis.core.ReactiveRedisTemplate;
import org.springframework.data.redis.core.ReactiveSetOperations;
import org.springframework.data.redis.serializer.Jackson2JsonRedisSerializer;
import org.springframework.data.redis.serializer.RedisSerializationContext;
import org.springframework.data.redis.serializer.StringRedisSerializer;
Expand Down Expand Up @@ -88,4 +89,9 @@ public ReactiveRedisTemplate<String, Long> reactiveRedisTemplate(ReactiveRedisCo

}

@Bean
public ReactiveSetOperations<String, Long> reactiveSetOperations(ReactiveRedisTemplate<String, Long> reactiveRedisTemplateForAuction) {
return reactiveRedisTemplateForAuction.opsForSet();
}

}

0 comments on commit a8fc8d8

Please sign in to comment.