1. 06 1月, 2020 1 次提交
  2. 01 1月, 2020 1 次提交
    • S
      Remove duplicated lombok annotations in the pulsar-io modules (#5911) · c648981c
      Sergii Zhevzhyk 提交于
      ### Motivation
      
      Most of the configuration classes of the connectors had the following annotations:
      
      ```
      @data
      @Setter	
      @Getter	
      @EqualsAndHashCode	
      @ToString
      ```
      
      The [@data](https://projectlombok.org/features/Data) annotation includes all other annotations:
      
      > All together now: A shortcut for @ToString, @EqualsAndHashCode, @Getter on all fields, @Setter on all non-final fields, and @RequiredArgsConstructor!
      
      
      ### Modifications
      
      Removed `@Setter`, `@Getter`, `@EqualsAndHashCode`, and '@ToString' if the `@data` annotation was also present
      c648981c
  3. 20 12月, 2019 1 次提交
  4. 10 12月, 2019 1 次提交
  5. 06 11月, 2019 1 次提交
  6. 06 10月, 2019 1 次提交
  7. 10 7月, 2019 1 次提交
  8. 25 6月, 2019 1 次提交
  9. 16 2月, 2019 1 次提交
  10. 15 2月, 2019 1 次提交
  11. 13 2月, 2019 1 次提交
    • B
      Add a Pulsar IO MongoDB (#3561) · 06e911d4
      Bruno Bonnin 提交于
      ### Motivation
      
      Provides a builtin MongoDB Connector, in order to ease the storage of JSON formated message in MongoDB. It's a sink connector.
      
      
      ### Modifications
      
      Add a new sub-module in the `pulsar-io`module.
      
      ### Verifying this change
      
      This change added tests and can be verified as follows:
      * deploy the connector with configuration file containing the following fields:
      ```
      configs:
        mongoUri: mongodb://hostname:port
        database: pulsar
        collection: messages
      ```
      * start a mongodb instance
      * send messages in the topic declared when deploying the connector
      * check in MongoDB if the messages have been stored in the collection `messages`
      06e911d4