Class RedisOffsetIT

java.lang.Object
io.debezium.server.redis.RedisOffsetIT

@QuarkusTestResource(RedisTestResourceLifecycleManager.class) public class RedisOffsetIT extends Object
Integration test that verifies reading and writing offsets from Redis key value store
Author:
Oren Elias
  • Field Details

  • Constructor Details

    • RedisOffsetIT

      public RedisOffsetIT()
  • Method Details

    • testRedisStream

      @Test @FixFor("DBZ-4509") public void testRedisStream() throws Exception
      Throws:
      Exception
    • testRedisConnectionRetry

      @Test @FixFor("DBZ-4509") public void testRedisConnectionRetry() throws Exception
      Test retry mechanism when encountering Redis connectivity issues: 1. Make Redis to be unavailable while the server is up 2. Create a new table named redis_test in PostgreSQL and insert 5 records to it 3. Bring Redis up again and make sure the offsets have been written successfully
      Throws:
      Exception