diff --git a/site2/docs/client-libraries-java.md b/site2/docs/client-libraries-java.md index 670736ad3adf1e..3977385dd1ad3d 100644 --- a/site2/docs/client-libraries-java.md +++ b/site2/docs/client-libraries-java.md @@ -168,7 +168,7 @@ You can set the client memory allocator configurations through Java properties.< |---|---|---|---|--- `pulsar.allocator.pooled` | String | If set to `true`, the client uses a direct memory pool.
If set to `false`, the client uses a heap memory without pool | true |
  • true
  • false
  • `pulsar.allocator.exit_on_oom` | String | Whether to exit the JVM when OOM happens | false |
  • true
  • false
  • -`pulsar.allocator.leak_detection` | String | Service URL provider for Pulsar service | Disabled |
  • Disabled
  • Simple
  • Advanced
  • Paranoid
  • +`pulsar.allocator.leak_detection` | String | The leak detection policy for Pulsar bytebuf allocator | Disabled |
  • Disabled
  • Simple
  • Advanced
  • Paranoid
  • `pulsar.allocator.out_of_memory_policy` | String | When an OOM occurs, the client throws an exception or fallbacks to heap | FallbackToHeap |
  • ThrowException
  • FallbackToHeap
  • **Example**: diff --git a/site2/website/versioned_docs/version-2.1.1-incubating/client-libraries-java.md b/site2/website/versioned_docs/version-2.1.1-incubating/client-libraries-java.md index b201e8573e8cc2..44af328d2207f9 100644 --- a/site2/website/versioned_docs/version-2.1.1-incubating/client-libraries-java.md +++ b/site2/website/versioned_docs/version-2.1.1-incubating/client-libraries-java.md @@ -167,7 +167,7 @@ You can set the client memory allocator configurations through Java properties.< |---|---|---|---|--- `pulsar.allocator.pooled` | String | If set to `true`, the client uses a direct memory pool.
    If set to `false`, the client uses a heap memory without pool | true |
  • true
  • false
  • `pulsar.allocator.exit_on_oom` | String | Whether to exit the JVM when OOM happens | false |
  • true
  • false
  • -`pulsar.allocator.leak_detection` | String | Service URL provider for Pulsar service | Disabled |
  • Disabled
  • Simple
  • Advanced
  • Paranoid
  • +`pulsar.allocator.leak_detection` | String | The leak detection policy for Pulsar bytebuf allocator | Disabled |
  • Disabled
  • Simple
  • Advanced
  • Paranoid
  • `pulsar.allocator.out_of_memory_policy` | String | When an OOM occurs, the client throws an exception or fallbacks to heap | FallbackToHeap |
  • ThrowException
  • FallbackToHeap
  • **Example**: diff --git a/site2/website/versioned_docs/version-2.10.0/client-libraries-java.md b/site2/website/versioned_docs/version-2.10.0/client-libraries-java.md index 030d9f6f9d5fe9..91548f34d8c214 100644 --- a/site2/website/versioned_docs/version-2.10.0/client-libraries-java.md +++ b/site2/website/versioned_docs/version-2.10.0/client-libraries-java.md @@ -168,7 +168,7 @@ You can set the client memory allocator configurations through Java properties.< |---|---|---|---|--- `pulsar.allocator.pooled` | String | If set to `true`, the client uses a direct memory pool.
    If set to `false`, the client uses a heap memory without pool | true |
  • true
  • false
  • `pulsar.allocator.exit_on_oom` | String | Whether to exit the JVM when OOM happens | false |
  • true
  • false
  • -`pulsar.allocator.leak_detection` | String | Service URL provider for Pulsar service | Disabled |
  • Disabled
  • Simple
  • Advanced
  • Paranoid
  • +`pulsar.allocator.leak_detection` | String | The leak detection policy for Pulsar bytebuf allocator | Disabled |
  • Disabled
  • Simple
  • Advanced
  • Paranoid
  • `pulsar.allocator.out_of_memory_policy` | String | When an OOM occurs, the client throws an exception or fallbacks to heap | FallbackToHeap |
  • ThrowException
  • FallbackToHeap
  • **Example**: diff --git a/site2/website/versioned_docs/version-2.10.1/client-libraries-java.md b/site2/website/versioned_docs/version-2.10.1/client-libraries-java.md index efba798e6b2da6..d4df7a60a4f8cb 100644 --- a/site2/website/versioned_docs/version-2.10.1/client-libraries-java.md +++ b/site2/website/versioned_docs/version-2.10.1/client-libraries-java.md @@ -168,7 +168,7 @@ You can set the client memory allocator configurations through Java properties.< |---|---|---|---|--- `pulsar.allocator.pooled` | String | If set to `true`, the client uses a direct memory pool.
    If set to `false`, the client uses a heap memory without pool | true |
  • true
  • false
  • `pulsar.allocator.exit_on_oom` | String | Whether to exit the JVM when OOM happens | false |
  • true
  • false
  • -`pulsar.allocator.leak_detection` | String | Service URL provider for Pulsar service | Disabled |
  • Disabled
  • Simple
  • Advanced
  • Paranoid
  • +`pulsar.allocator.leak_detection` | String | The leak detection policy for Pulsar bytebuf allocator | Disabled |
  • Disabled
  • Simple
  • Advanced
  • Paranoid
  • `pulsar.allocator.out_of_memory_policy` | String | When an OOM occurs, the client throws an exception or fallbacks to heap | FallbackToHeap |
  • ThrowException
  • FallbackToHeap
  • **Example**: diff --git a/site2/website/versioned_docs/version-2.2.0/client-libraries-java.md b/site2/website/versioned_docs/version-2.2.0/client-libraries-java.md index b201e8573e8cc2..44af328d2207f9 100644 --- a/site2/website/versioned_docs/version-2.2.0/client-libraries-java.md +++ b/site2/website/versioned_docs/version-2.2.0/client-libraries-java.md @@ -167,7 +167,7 @@ You can set the client memory allocator configurations through Java properties.< |---|---|---|---|--- `pulsar.allocator.pooled` | String | If set to `true`, the client uses a direct memory pool.
    If set to `false`, the client uses a heap memory without pool | true |
  • true
  • false
  • `pulsar.allocator.exit_on_oom` | String | Whether to exit the JVM when OOM happens | false |
  • true
  • false
  • -`pulsar.allocator.leak_detection` | String | Service URL provider for Pulsar service | Disabled |
  • Disabled
  • Simple
  • Advanced
  • Paranoid
  • +`pulsar.allocator.leak_detection` | String | The leak detection policy for Pulsar bytebuf allocator | Disabled |
  • Disabled
  • Simple
  • Advanced
  • Paranoid
  • `pulsar.allocator.out_of_memory_policy` | String | When an OOM occurs, the client throws an exception or fallbacks to heap | FallbackToHeap |
  • ThrowException
  • FallbackToHeap
  • **Example**: diff --git a/site2/website/versioned_docs/version-2.3.0/client-libraries-java.md b/site2/website/versioned_docs/version-2.3.0/client-libraries-java.md index b201e8573e8cc2..44af328d2207f9 100644 --- a/site2/website/versioned_docs/version-2.3.0/client-libraries-java.md +++ b/site2/website/versioned_docs/version-2.3.0/client-libraries-java.md @@ -167,7 +167,7 @@ You can set the client memory allocator configurations through Java properties.< |---|---|---|---|--- `pulsar.allocator.pooled` | String | If set to `true`, the client uses a direct memory pool.
    If set to `false`, the client uses a heap memory without pool | true |
  • true
  • false
  • `pulsar.allocator.exit_on_oom` | String | Whether to exit the JVM when OOM happens | false |
  • true
  • false
  • -`pulsar.allocator.leak_detection` | String | Service URL provider for Pulsar service | Disabled |
  • Disabled
  • Simple
  • Advanced
  • Paranoid
  • +`pulsar.allocator.leak_detection` | String | The leak detection policy for Pulsar bytebuf allocator | Disabled |
  • Disabled
  • Simple
  • Advanced
  • Paranoid
  • `pulsar.allocator.out_of_memory_policy` | String | When an OOM occurs, the client throws an exception or fallbacks to heap | FallbackToHeap |
  • ThrowException
  • FallbackToHeap
  • **Example**: diff --git a/site2/website/versioned_docs/version-2.3.2/client-libraries-java.md b/site2/website/versioned_docs/version-2.3.2/client-libraries-java.md index b201e8573e8cc2..44af328d2207f9 100644 --- a/site2/website/versioned_docs/version-2.3.2/client-libraries-java.md +++ b/site2/website/versioned_docs/version-2.3.2/client-libraries-java.md @@ -167,7 +167,7 @@ You can set the client memory allocator configurations through Java properties.< |---|---|---|---|--- `pulsar.allocator.pooled` | String | If set to `true`, the client uses a direct memory pool.
    If set to `false`, the client uses a heap memory without pool | true |
  • true
  • false
  • `pulsar.allocator.exit_on_oom` | String | Whether to exit the JVM when OOM happens | false |
  • true
  • false
  • -`pulsar.allocator.leak_detection` | String | Service URL provider for Pulsar service | Disabled |
  • Disabled
  • Simple
  • Advanced
  • Paranoid
  • +`pulsar.allocator.leak_detection` | String | The leak detection policy for Pulsar bytebuf allocator | Disabled |
  • Disabled
  • Simple
  • Advanced
  • Paranoid
  • `pulsar.allocator.out_of_memory_policy` | String | When an OOM occurs, the client throws an exception or fallbacks to heap | FallbackToHeap |
  • ThrowException
  • FallbackToHeap
  • **Example**: