Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2431 C client documentation improvement
  3. ZOOKEEPER-2432

Document how to use single thread C client API to monitor connection status.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.4.8
    • None
    • c client, documentation
    • None

    Description

      We need document the correct approach (use watchers combined with zookeeper_interest, select, and zookeeper_process) for monitoring connection events between client and server using single thread C library. See examples https://goo.gl/hql4B1 and https://github.com/fpj/zookeeper-book-example/blob/master/src/main/c/master.c. In particular emphasis that the return code of zookeeper_interest should not be relied for connection monitoring purposes.

      Attachments

        Issue Links

          Activity

            People

              hanm Michael Han
              hanm Michael Han
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: