- 19 5月, 2019 2 次提交
-
-
由 Ezequiel Lovelle 提交于
*Motivation* Trying to fix #3975 When a reset of a cursor is performed with some timestamp on a non-durable consumer the message finder will fail with null pointer exception due to `cursor.getName()` being null. *Modifications* - Add method overloading for `newNonDurableCursor()` with subscription name. - Fix method getNonDurableSubscription to call `newNonDurableCursor()` with proper subscription name - Add test to assert issue.
-
由 Rajan Dhabalia 提交于
### Motivation Log Producer/Consumer Id when broker logs "Producer/consumer is already connected" to help in debugging when client is keep failing to create producer and broker is keep logging the same error.
-
- 07 5月, 2019 1 次提交
-
-
由 冉小龙 提交于
* Fixed conversion of unix timestamp to golang time (#3659) * fix cannot use size (type _Ctype_int) as type _Ctype_ulong Signed-off-by: Nxiaolong.ran <ranxiaolong716@gmail.com>
-
- 03 5月, 2019 1 次提交
-
-
由 Sijie Guo 提交于
*Motivation* AlwaysCompatible flag doesn't work in 2.3.1 because the flag is using NeverSchemaValidator *Modifications* Change to use AlwaysSchemaValidator
-
- 09 4月, 2019 4 次提交
-
-
由 massakam 提交于
-
由 Matteo Merli 提交于
-
由 Matteo Merli 提交于
-
由 Sanjeev Kulkarni 提交于
-
- 05 4月, 2019 4 次提交
-
-
由 Matteo Merli 提交于
-
由 Matteo Merli 提交于
-
由 Matteo Merli 提交于
* Fixed issue with Authorization header missing after client gets redirected * Use AsyncHttpClient instead * Fixed merge issue * Convert headers after body to not break multipart encoding * Fixed tests * Added missing property file for AsyncHttpClient in the shaded jar * Moved ahc.properties into org.asynchttpclient.config * One value was missing from properties file * Also add default file for non-shaded scenario * Another missing AHC config key * Print topic load exception * Removed constraint on unit tests executor
-
由 Sanjeev Kulkarni 提交于
-
- 02 4月, 2019 9 次提交
-
-
由 Matteo Merli 提交于
-
由 Yuvaraj L 提交于
* Exposing getSchemaVersion in the client by making it public. * Implemented getSchemaVersion in TopicMessageImpl.java * Changed the release version
-
由 Boyang Jerry Peng 提交于
* fix submit function via url * cleaning up * add test * make method private * add additional tests * cleaning up * improving tests
-
由 penghui 提交于
### Motivation Fix comments of schema compatibility strategy. ### Modifications Change comment of SchemaCompatibilityStrategy.BACKWARD and SchemaCompatibilityStrategy.FORWARD
-
由 Sanjeev Kulkarni 提交于
1) Collect input topics from the function details spec 2) Catch all errors during source/sink close since its user code
-
由 Matteo Merli 提交于
* By default use `journalFormatVersionToWrite=5` for Bookie journal * Also set fileInfoFormatVersionToWrite=0
-
由 Shivji Kumar Jha 提交于
issue#3838 : Allow incompatible schemas to co-exist on a topic, allow set-schema-autoupdate-strategy = none (#3840) Fixes #3838 : The set-schema-autoupdate-strategy policy currently allows disabling schema update (--disabled) and one of --compatibility(FULL, BACKWARD, FORWARD). There is no way to currently allow multiple schemas for a topic. It would be useful to allow --compatibility so the schemas can be added without checking with the previous schemas. This allows for extra flexibility for instance having multiple objects on a topic, supports use cases like a simple event bus etc. This change added tests and can be verified as follows: - *Added test cases under SchemaUpdateStrategyTest*
-
由 Sijie Guo 提交于
Fixes #3211 Fixes #2786 *Motivation* When a schema is deleted, the schema is not removed directly. You can still fetch the latest schema but its state is marked as `deleted`. So when we apply schema compatibility check, we should ignore deleted schema. *Modifications* Ignore deleted schema when doing schema compatibility check
-
由 Sanjeev Kulkarni 提交于
* Since partitioned topics have a -partition-<partitionid> affixed to the topic name, when doing explicit acking, check for the case to determine the right topic name * added unittests
-
- 30 3月, 2019 19 次提交
-
-
由 massakam 提交于
* Upgrade jackson version to 2.9.8 * Upgrade commons-collections version to 1.10
-
由 Sanjeev Kulkarni 提交于
* Added ability to specify consumer queue size for function input topics * fix and update PR
-
由 Matteo Merli 提交于
-
由 Sijie Guo 提交于
*Motivation* Fixes #3925 We have 3 places of defining schema type enums. We kept adding new schema type in pulsar-common. However we don't update the schema type in wire protocol and schema storage. This causes `SchemaType.NONE` is stored in SchemaRegistry. It fails debeizum connector on restarting. *Modifications* Make sure all 3 places have consistent schema type definitions. Record the correct schema type.
-
由 wpl 提交于
Fixes #3831
-
由 Sanjeev Kulkarni 提交于
* Try both regular classloader as well as nar class loader for validating source/sinks * Fixed test * Fix unittest * Added more comments to the code * rename variables * Wait for the create to succeed before updating. Otherwise there might be some reamnant producers
-
由 Sanjeev Kulkarni 提交于
* Cleanup logic in JavaInstanceRunnable close method * Added comments
-
由 Fangbin Sun 提交于
-
由 Steve M. Kim 提交于
In the POM file for tiered-storage-jcloud, the dependency on com.jamesmurty.utils/java-xmlbuilder was marked with test scope, but in fact this dependency is needed during normal use. This commit changes the POM file so that the java-xmlbuilder dependency is packaged in the NAR file.
-
由 Rajan Dhabalia 提交于
### Motivation Fix: unloading namespace logging
-
由 Ezequiel Lovelle 提交于
Add reference count feature to keep track of reused instances of a consumer instance, for more details please see commit ff4db8db. *Modifications* - Add refCount instance variable on ConsumerImpl. - Use new safeDecrRefCount() on consumer close() in order to know whether effective close call should occur or not. - Increment reference count when a previous built consumer instance is being used by caller. *Future considerations* Thereafter when feature preventing duplicated consumer is made for PartitionedConsumer, MultiTopicsConsumer and PatternMultiTopicsConsumer, incrRefCount() member could be turned into a pure virtual method.
-
由 congbo 提交于
## Motivation To compromise avro‘s bug for avro filed logical type https://issues.apache.org/jira/browse/AVRO-1891 ## Modifications add some initialize class ## Verifying this change Add logical type test in AvroSchemaTest
-
由 Sijie Guo 提交于
*Motivation* Schema version is set on single message's header. But it isn't propagated to the batch message's header. So when the consumer receives the message batch, it doesn't contain the schema version. *Modifications* When intializing a message batch, propagate the schema version from single message to batch message header. *Verify this change* Verified with an integration test. Need to write some unit tests for it.
-
由 Fangbin Sun 提交于
* Fix NPE in ElasticSearchSink. * Init by an empty string
-
由 Sanjeev Kulkarni 提交于
-
由 Sanjeev Kulkarni 提交于
-
由 Sanjeev Kulkarni 提交于
* Enable generation of swagger definitions for functions/sources/sinks * Added more changes to make it backwards compatible * Add logic to server functions rest api * Deleted swagger file since its supposed to be generated. Also added some missing python packages for building * Added back deleted file * Fix comments * Seperated out sources and sinks * More changes to collapse all rest apis into one dropdown
-
由 Matteo Merli 提交于
-
由 penghui 提交于
### Motivation Fix bug of reader.hasMessageAvailable(). ```java while (reader.hasMessageAvailable()) { Message msg = reader.readNext(); // Do something } ``` If lastDequeuedMessage with a batchMessageId, reader.hasMessageAvailable() will return false after read first message of batchMessage, because compared message id is a MessageIdImpl(lastMessageIdInBroker) ### Modifications Add batching message check. ### Verifying this change - [x] This change added tests and can be verified as follows: - *Added UT tests for read batch message and non-batch message*
-