You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/03/12 17:41:28 UTC
[GitHub] merlimat opened a new pull request #1369: Allow to configure BK digest type in broker configuration
merlimat opened a new pull request #1369: Allow to configure BK digest type in broker configuration
URL: https://github.com/apache/incubator-pulsar/pull/1369
### Motivation
BookKeeper 4.7 has the ability to auto-detect the digest type when opening a ledger for reading. That makes it possible to switch the digest type without having troubles.
Therefore, we can allow to configure the `DigestType` parameter.
The main goal is to move to CRC32c for BookKeeper as well (Pulsar is already using it) because it is faster than regular CRC32 (uses less CPU since most of computation is done through specific
hardware instructions).
I'm not immediately change the default in 2.0 to CRC32c because it would cause issues in case of a deployment rollback (2.0 -> 1.22). Instead we'll make CRC32c the default in 2.1 release.
### Modifications
* Added support for enum types in `FieldParser` and `ServiceConfiguration`
* Switched ManagedLedger default to CRC32c
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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
With regards,
Apache Git Services