Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-90

Hedwig API changes for initial Bookkeeper release

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0
    • None
    • None

    Description

      HedwigClient#getSslFactory shouldn't be public
      HedwigClient#getConsumeCallback shouldn't be public
      HedwigClient#doConnect shouldn't be public
      HedwigClient#getHostFromChannel shouldn't be public
      HedwigClient#getResponseHandlerFromChannel shouldn't be public
      HedwigClient#getHostForTopic shouldn't be public
      HedwigClient#clearAllTopicsForHost shouldn't be public
      HedwigClient#getClientTimer shoulnd't be public
      HedwigClient#stop should throw some sort of Exception in the case of errors

      HedwigPublisher#publish shouldn't use protobuf ByteString, as it requires the user to import protobufs
      HedwigPublisher#getChannelForHost shouldn't be public

      HedwigSubscriber#HedwigSubscriber shouldn't be public
      HedwigSubscriber#doConsume shouldn't be public
      HedwigSubscriber#hasSubscription probably shouldn't be public
      HedwigSubscriber#getSubscriptionList shoulnd't exist
      HedwigSubscriber#getChannelForTopic shouldn't be public
      HedwigSubscriber#setChannelforTopic shouldn't be public
      HedwigSubscriber#removeChannelForTopic shound't be public

      MessageHandler#consume should be called 'deliver'

      The hedwig client is under a netty package. There's nothing netty specific about the api, so it should be in the org.apache.hedwig.client package.

      Attachments

        1. BOOKKEEPER-90.diff
          202 kB
          Ivan Kelly
        2. BOOKKEEPER-90.diff
          89 kB
          Ivan Kelly
        3. BOOKKEEPER-90.diff
          291 kB
          Ivan Kelly
        4. BOOKKEEPER-90.diff
          89 kB
          Ivan Kelly
        5. BOOKKEEPER-90.diff
          89 kB
          Ivan Kelly

        Activity

          People

            ikelly Ivan Kelly
            ikelly Ivan Kelly
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: