You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/05/08 09:41:30 UTC

[GitHub] [druid] bananaaggle opened a new pull request #11223: Add apache pulsar based indexing service

bananaaggle opened a new pull request #11223:
URL: https://github.com/apache/druid/pull/11223


   ### Description
   
   Druid has Kafka and kinesis ingestions. Pulsar is a message queue which is similar to Kafka. We have created SeekableStreamSupervisor interface to server this type of message queue. I implement a Pulsar ingestion follow this model. This ingestion use Pulsar message ID as sequence number and use exclusive consume mode which can ordered consume message from Pulsar. Like Kinesis, Pulsar can not compute lag using SeekableStreamSupervisor interface. I've test it on my MAC and it works for creating/suspending/resuming supervisor and publishing segments. I'll add unit tests and document for it later. 
   It's type is pulsar and IOconfig will like this:
   '''
       "ioConfig": {
         "topic": "persistent://public/default/json-topic",
         "consumerProperties": {
           "pulsar.url": "pulsar://10.23.2.26:6650"
         },
         "stream": "persistent://public/default/json-topic"
          ...
       }
   '''
   
   This PR has:
   - [ ] been self-reviewed.
      - [ ] using the [concurrency checklist](https://github.com/apache/druid/blob/master/dev/code-review/concurrency.md) (Remove this item if the PR doesn't have any relation to concurrency.)
   - [ ] added documentation for new or modified features or behaviors.
   - [ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
   - [ ] added or updated version, license, or notice information in [licenses.yaml](https://github.com/apache/druid/blob/master/dev/license.md)
   - [ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
   - [ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for [code coverage](https://github.com/apache/druid/blob/master/dev/code-review/code-coverage.md) is met.
   - [ ] added integration tests.
   - [ ] been tested in a test Druid cluster.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] bananaaggle closed pull request #11223: Add apache pulsar based indexing service

Posted by GitBox <gi...@apache.org>.
bananaaggle closed pull request #11223:
URL: https://github.com/apache/druid/pull/11223


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org