Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOCS-809: Updates example configuration files for TPC comments #26271

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions hazelcast/src/main/resources/hazelcast-client-full-example.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1025,15 +1025,10 @@
<!--
===== HAZELCAST TPC CONFIGURATION =====

Configures the client for TPC, which is the next generation Hazelcast that
uses thread-per-core model. TPC-aware clients will maintain connections to
all cores of all cluster members. The client will route partition-specific
invocations to the correct core of the correct member in the best effort
basis. Configuration element's name is <tpc>.

It has the following attributes:
Configures the client for thread-per-core (TPC) model using the <tpc> configuration element.
TPC will only be used if both client and server have <tpc> enabled.
- enabled:
Enables or disables the TPC-aware mode.
Enables or disables TPC-aware mode.
-->
<tpc enabled="true"/>
</hazelcast-client>
11 changes: 3 additions & 8 deletions hazelcast/src/main/resources/hazelcast-client-full-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -974,14 +974,9 @@ hazelcast-client:
# Sets the resubmission mode for failing queries. By default, it is set to NEVER.
sql:
resubmission-mode: RETRY_SELECTS
# Configures the client for TPC, which is the next generation Hazelcast that
# uses thread-per-core model. TPC-aware clients will maintain connections to
# all cores of all cluster members. The client will route partition-specific
# invocations to the correct core of the correct member in the best effort
# basis. Configuration element's name is "tpc".
#
# It has the following sub-elements:
# Configures the client for thread-per-core (TPC) model using the <tpc> configuration
# element. TPC will only be used if both client and server have <tpc> enabled.
# * "enabled":
# Enables or disables the TPC-aware mode.
# Enables or disables TPC-aware mode.
tpc:
enabled: true
7 changes: 4 additions & 3 deletions hazelcast/src/main/resources/hazelcast-full-example.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4112,11 +4112,12 @@
<!--
===== HAZELCAST TPC CONFIGURATION =====

Hazelcast TPC is the next generation of Hazelcast built with thread per core architecture.
It's still being developed and everything is subject to change. TPC is disabled by default.
Configures the member for thread-per-core (TPC) model using the <tpc> configuration element.
TPC will only be used if both client and server have <tpc> enabled.
-->
<!-- Enables or disables TPC-aware mode. -->
<tpc enabled="true">
<!-- Configures the number of eventloops. It's equal to available processor count by default. -->
<!-- Configures the number of eventloops. This defaults to available processor count. -->
<eventloop-count>12</eventloop-count>
</tpc>

Expand Down
5 changes: 3 additions & 2 deletions hazelcast/src/main/resources/hazelcast-full-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3998,9 +3998,10 @@ hazelcast:

# ===== HAZELCAST TPC CONFIGURATION =====
#
# Hazelcast TPC is the next generation of Hazelcast built with thread per core architecture.
# It's still being developed and everything is subject to change. TPC is disabled by default.
# Configures the member for thread-per-core (TPC) model using the <tpc> configuration element.
# TPC will only be used if both client and server have <tpc> enabled.
tpc:
# Enables or disables TPC-aware mode.
enabled: true
# Configures the number of eventloops. It's equal to available processor count by default.
eventloop-count: 12
Expand Down
Loading