Skip to content

Commit

Permalink
removed unnecessary empty line + improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Diewa committed Jan 23, 2025
1 parent 6de1bcc commit 3a96008
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion hermes-console/json-server/db.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
},
"jsonToAvroDryRun": false,
"ack": "LEADER",
"fallbackToRemoteDatacenterEnabled": false,
"fallbackToRemoteDatacenterEnabled": true,
"trackingEnabled": false,
"migratedFromJsonType": false,
"schemaIdAwareSerializationEnabled": false,
Expand Down
2 changes: 1 addition & 1 deletion hermes-console/json-server/topics.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"ack": "LEADER",
"trackingEnabled": false,
"migratedFromJsonType": false,
"fallbackToRemoteDatacenterEnabled": false,
"fallbackToRemoteDatacenterEnabled": true,
"schemaIdAwareSerializationEnabled": false,
"contentType": "AVRO",
"maxMessageSize": 10240,
Expand Down
4 changes: 2 additions & 2 deletions hermes-console/src/i18n/en-US/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ const en_US = {
creationDate: 'Creation date',
modificationDate: 'Modification date',
fallbackToRemoteDatacenterEnabled:

Check failure on line 328 in hermes-console/src/i18n/en-US/index.ts

View workflow job for this annotation

GitHub Actions / build

Delete `⏎·······`
'Fallback to remote datacenter enabled',
'Fallback to remote DC enabled',
tooltips: {
acknowledgement:
'Specifies the strength of guarantees that acknowledged message was indeed persisted. ' +
Expand All @@ -347,7 +347,7 @@ const en_US = {
offlineRetention:
'For how long should this topic be stored in offline storage.',
fallbackToRemoteDatacenterEnabled:
'In case of failure, Hermes fallback to remote datacenter instead of store unsent messages in offline storage. Enabling fallback to remote DC increase messages durability but may increase publishing latency.',
'In case of message publishing failure, Hermes fallback to a remote DC instead of store unsent messages in offline storage. Enabling fallback to remote DC increase your messages durability but may impact publishing latency.',
},
ackText: {
all: 'All brokers',
Expand Down
2 changes: 1 addition & 1 deletion hermes-console/src/i18n/en-US/topic-form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const messages = {
days: 'DAYS',
},
ack: 'Kafka ACK level',
fallbackToRemoteDatacenterEnabled: 'Fallback to remote datacenter enabled',
fallbackToRemoteDatacenterEnabled: 'Fallback to remote DC enabled',
ackHelpTitle: 'ACK level is very important',
ackHelpText:
'Set ACK level according to your durability and latency requirements, see: ',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public HttpClient createClientForHttp1(String name, Http1ClientParameters http1C
client.setMaxRequestsQueuedPerDestination(http1ClientParameters.getMaxRequestsQueuedPerDestination());
client.setHttpCookieStore(new HttpCookieStore.Empty());
client.setIdleTimeout(http1ClientParameters.getIdleTimeout().toMillis());

client.setFollowRedirects(http1ClientParameters.isFollowRedirectsEnabled());
client.setConnectTimeout(http1ClientParameters.getConnectionTimeout().toMillis());
return client;
Expand Down

0 comments on commit 3a96008

Please sign in to comment.