Class JdbcCursorManager

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

    @Deprecated
    public class JdbcCursorManager
    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

      • JdbcCursorManager

        public JdbcCursorManager​(org.springframework.jdbc.core.JdbcTemplate template,
                                 String consumerName,
                                 String schema)
        Deprecated.
      • JdbcCursorManager

        public JdbcCursorManager​(org.springframework.jdbc.core.JdbcTemplate template,
                                 String consumerName)
        Deprecated.
      • JdbcCursorManager

        public JdbcCursorManager​(DataSource dataSource,
                                 String consumerName,
                                 String schema)
        Deprecated.
      • JdbcCursorManager

        public JdbcCursorManager​(DataSource dataSource,
                                 String consumerName)
        Deprecated.
    • Method Detail

      • onSuccess

        @Transactional
        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

        @Transactional
        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