Class RedisCursorManager

  • All Implemented Interfaces:
    org.zalando.fahrschein.CursorManager

    @Deprecated
    public class RedisCursorManager
    extends Object
    implements org.zalando.fahrschein.CursorManager
    Deprecated.
    Deprecated for removal. Externally managing Nakadi cursors is not recommended practice, not useful, and not really seen in the field.
    • Constructor Detail

      • RedisCursorManager

        public RedisCursorManager​(org.springframework.data.redis.connection.jedis.JedisConnectionFactory jedisConnectionFactory,
                                  String consumerName)
        Deprecated.
    • Method Detail

      • onSuccess

        public void onSuccess​(String eventName,
                              org.zalando.fahrschein.domain.Cursor cursor)
                       throws IOException
        Deprecated.
        Specified by:
        onSuccess in interface org.zalando.fahrschein.CursorManager
        Throws:
        IOException
      • onSuccess

        public void onSuccess​(String eventName,
                              List<org.zalando.fahrschein.domain.Cursor> cursors)
                       throws IOException
        Deprecated.
        Specified by:
        onSuccess in interface org.zalando.fahrschein.CursorManager
        Throws:
        IOException
      • getCursors

        public Collection<org.zalando.fahrschein.domain.Cursor> getCursors​(String eventName)
                                                                    throws IOException
        Deprecated.
        Specified by:
        getCursors in interface org.zalando.fahrschein.CursorManager
        Throws:
        IOException