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

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.4.8
    • Fix Version/s: 3.7.0, 3.5.9
    • Component/s: c client, documentation
    • Labels:
      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

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

                Dates

                • Created:
                  Updated: