1. 25 6月, 2019 4 次提交
  2. 24 6月, 2019 1 次提交
  3. 22 6月, 2019 3 次提交
  4. 21 6月, 2019 5 次提交
    • S
      [schema] Introduce schema data validator (#4360) · 6c13f189
      Sijie Guo 提交于
      *Motivation*
      
      Currently the schema data is only validated in compatibility checker. If the schema data is uploaded from admin api, there is no validation if the schema is the first version.
      
      *Changes*
      
      Add schema data validator to validate the schema data before storing it in schema storage.
      6c13f189
    • B
    • J
      [docs] Add technical writing style for Pulsar docs to the site2/readme.md file (#4565) · 201a61e4
      Jennifer Huang 提交于
      ### Motivation
      When writing Pulsar docs, we can adopt a consistent writing styles, whoever the author is.
      Here I introduce [Google Developer Documentation Style Guide](https://developers.google.com/style/) for Pulsar technical docs. The style guide generally conforms to with most popular technical writing styles, such as *IBM style guides*, *Microsoft style guide*, *The Chicago Manual of Style*, and so on.
      In addition, *Google Developer Documentation Style Guide* is open to all, and the link is easy to share among all participants.
      
      ### Modifications
      1. Restructure the content of the site2/reademe file: website, doc, and translation.
      2. Introduce *Google Developer Documentation Style Guide* in **Contribute to documentation**.
      201a61e4
    • W
      add missing debezium-postgres connector in distribution (#4567) · 4dfcf11c
      willome 提交于
      ### Motivation
      - debezium-postgres connector is missing in distribution (build)
      
      ### Modifications
      - assemby updated
      4dfcf11c
    • L
      Add subscription modes for java client doc. (#4533) · aec968a1
      lipenghui 提交于
      ### Motivation
      
      Add document for java client to describe how to use each subscription modes and the difference between each subscription modes.
      
      ### Modifications
      
      Add subscription modes section for java client doc.
      
      ### Does this pull request potentially affect one of the following parts:
      
      *If `yes` was chosen, please highlight the changes*
      
        - Dependencies (does it add or upgrade a dependency): (no)
        - The public API: (no)
        - The schema: (no)
        - The default values of configurations: (no)
        - The wire protocol: (no)
        - The rest endpoints: (no)
        - The admin cli options: (no)
        - Anything that affects deployment: (no)
      
      ### Documentation
      
        - Does this pull request introduce a new feature? (no)
      aec968a1
  5. 20 6月, 2019 8 次提交
    • F
      4c3cac85
    • F
    • 22db5b64
    • Y
    • R
      Update message backlog figures in the database when clearing/deleting... · e643c5e4
      rshermanTHG 提交于
      Update message backlog figures in the database when clearing/deleting subscriptions. Keeping the UI up to date pending the next collector run. (#4559)
      
      Motivation
      When a subscription's backlog is cleared or the subscription is deleted the UI doesn't reflect the change in the backlog until the next run of the collector. This change updates the database with the new backlog count at the subscription and topic level.
      
      Modifications
      If the deletion of a subscription has a 204 response reduce the topic's message backlog count by the amount on the subscription.
      If the clearing of a subscription has a 204 response reduce the topic's message backlog count by the amount on the subscription and reduce the subscriptions backlog count to 0.
      e643c5e4
    • S
      [schema] key/value schema enhancement (#4548) · 82d9e716
      Sijie Guo 提交于
      *Motivation*
      
      - The code for encoding and decoding key/value schema is spreading over multiple places.
      - Make code changes to prepare supporting key/value schema in AUTO consumers
      - Make schema tools display key/value schema in a pretty format
      
      *Modifications*
      
      - Move the common logic of encoding and decoding key/value schema to a common class KeyValueSchemaInfo
      - Expose the common class in DefaultImplementation so that it can be available for public usage
      - Fix the display problem on displaying key/value schema
      
      *Verify this change*
      
      - Add bunch of the unit tests for key/value schemas
      82d9e716
    • J
      [Docs] Update site2/docs/functions-overview.md (#4507) · 4c38c9a9
      Jennifer Huang 提交于
      ### Motivation
      Improve doc on Pulsar Functions.
      
      ### Modifications
      1. Add an example of Pulsar Function for Go.
      2. Add Pulsar Functions SDK: Go.
      3. Add an example of Go function logging.
      4. Refine a section title from "Parallelism" as "Run instances in parallel"
      5. Refine some typos.
      
      ### Documentation
      
        - Does this pull request introduce a new feature? (yes )
        - If yes, how is the feature documented? ( docs)
      4c38c9a9
    • L
      Introduce batch message container framework and support key based batching container (#4435) · b45736ad
      lipenghui 提交于
      ### Motivation
      
      Introduce batch message container framework to support multiple ways to do message batch. 
      Currently, pulsar support a most basic batch message container, use the batch message container framework can quickly implement other types batch message container, even users can customize their own batch message container.
      
      Add a new batch message container named BatchMessageKeyBasedContainer to support batching message in key_shared subscription mode.
      b45736ad
  6. 19 6月, 2019 3 次提交
  7. 18 6月, 2019 10 次提交
  8. 17 6月, 2019 2 次提交
  9. 15 6月, 2019 4 次提交
    • E
      Feature - reset cursor on Reader to current position (#4331) · 1c51adc7
      Ezequiel Lovelle 提交于
      * Feature - reset cursor on Reader to current position
      
      *Motivation*
      
      There are some cases in which is it useful to be able to include current
      position of message when reset of cursor was made.
      
      This was reported by a `vvy` on slack, no issue has been created to track this.
      
      *Modifications*
      
        - Add startMessageIdInclusive() to support include current position of
          reset on ReaderBuilder.
        - Add resetIncludeHead field for Reader and Consumer Configuration Data
        - Fix position of cursor for non durable consumer.
        - Improve discard if statement for batch enable mode.
        - Add discard if statement for batch disable mode.
        - Improve test case for latest Reader seek.
        - Add test case to assert the start of specific message id at the expected
          position with data provider scenarios:
            A. Batch enable and start inclusive enable.
            B. Batch enable and start inclusive disable.
            C. Batch disable and start inclusive enable.
            D. Batch disable and start inclusive disable.
      1c51adc7
    • B
      add docs on how to debug Pulsar Functions (#4485) · 288b0e3b
      Boyang Jerry Peng 提交于
      * add docs on how to debug Pulsar Functions
      
      * adding to sidebar
      
      * Apply suggestions from code review
      Co-Authored-By: NAnonymitaet <50226895+Anonymitaet@users.noreply.github.com>
      
      * addressing comments and rewording
      
      * adding comma
      
      * addressing comments
      
      * fixing minor issue
      288b0e3b
    • Y
      Make GenericAvroRecord public (#4532) · f90fab28
      Yijie Shen 提交于
      f90fab28
    • A
      [Doc] Fix schema layout (#4531) · d2d432ce
      Anonymitaet 提交于
      d2d432ce