This commit is contained in:
parent
06e589fab0
commit
467a95b61d
|
|
@ -105,6 +105,7 @@ Release Notes.
|
|||
* The `core/syncThreads` setting(added in 8.5.0) is removed due to metrics persistence is fully asynchronous.
|
||||
* Optimization: Concurrency mode of execution stage for metrics is removed(added in 8.5.0). Only concurrency of prepare
|
||||
stage is meaningful and kept.
|
||||
* Fix -meters metrics topic isn't created with namespace issue
|
||||
|
||||
#### UI
|
||||
|
||||
|
|
|
|||
|
|
@ -108,7 +108,6 @@ kafka-fetcher:
|
|||
namespace: ${SW_NAMESPACE:""}
|
||||
partitions: ${SW_KAFKA_FETCHER_PARTITIONS:3}
|
||||
replicationFactor: ${SW_KAFKA_FETCHER_PARTITIONS_FACTOR:2}
|
||||
enableMeterSystem: ${SW_KAFKA_FETCHER_ENABLE_METER_SYSTEM:false}
|
||||
isSharding: ${SW_KAFKA_FETCHER_IS_SHARDING:false}
|
||||
consumePartitions: ${SW_KAFKA_FETCHER_CONSUME_PARTITIONS:""}
|
||||
```
|
||||
|
|
@ -124,7 +123,6 @@ kafka-fetcher:
|
|||
namespace: ${SW_NAMESPACE:""}
|
||||
partitions: ${SW_KAFKA_FETCHER_PARTITIONS:3}
|
||||
replicationFactor: ${SW_KAFKA_FETCHER_PARTITIONS_FACTOR:2}
|
||||
enableMeterSystem: ${SW_KAFKA_FETCHER_ENABLE_METER_SYSTEM:false}
|
||||
isSharding: ${SW_KAFKA_FETCHER_IS_SHARDING:true}
|
||||
consumePartitions: ${SW_KAFKA_FETCHER_CONSUME_PARTITIONS:1,3,5}
|
||||
kafkaConsumerConfig:
|
||||
|
|
@ -141,7 +139,6 @@ kafka-fetcher:
|
|||
namespace: ${SW_NAMESPACE:""}
|
||||
partitions: ${SW_KAFKA_FETCHER_PARTITIONS:3}
|
||||
replicationFactor: ${SW_KAFKA_FETCHER_PARTITIONS_FACTOR:2}
|
||||
enableMeterSystem: ${SW_KAFKA_FETCHER_ENABLE_METER_SYSTEM:false}
|
||||
isSharding: ${SW_KAFKA_FETCHER_IS_SHARDING:true}
|
||||
consumePartitions: ${SW_KAFKA_FETCHER_CONSUME_PARTITIONS:1,3,5}
|
||||
mm2SourceAlias: ${SW_KAFKA_MM2_SOURCE_ALIAS:""}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ kafka-fetcher:
|
|||
selector: ${SW_KAFKA_FETCHER:default}
|
||||
default:
|
||||
bootstrapServers: ${SW_KAFKA_FETCHER_SERVERS:localhost:9092}
|
||||
enableMeterSystem: ${SW_KAFKA_FETCHER_ENABLE_METER_SYSTEM:true}
|
||||
```
|
||||
|
||||
## Configuration file
|
||||
|
|
|
|||
|
|
@ -228,7 +228,6 @@ core|default|role|Option values, `Mixed/Receiver/Aggregator`. **Receiver** mode
|
|||
| - | - | isSharding | it was true when OAP Server in cluster. | SW_KAFKA_FETCHER_IS_SHARDING | false |
|
||||
| - | - | createTopicIfNotExist | If true, create the Kafka topic when it does not exist. | - | true |
|
||||
| - | - | partitions | The number of partitions for the topic being created. | SW_KAFKA_FETCHER_PARTITIONS | 3 |
|
||||
| - | - | enableMeterSystem | To enable to fetch and handle [Meter System](backend-meter.md) data. | SW_KAFKA_FETCHER_ENABLE_METER_SYSTEM | false |
|
||||
| - | - | enableNativeProtoLog | To enable to fetch and handle native proto log data. | SW_KAFKA_FETCHER_ENABLE_NATIVE_PROTO_LOG | false |
|
||||
| - | - | enableNativeJsonLog | To enable to fetch and handle native json log data. | SW_KAFKA_FETCHER_ENABLE_NATIVE_JSON_LOG | false |
|
||||
| - | - | replicationFactor | The replication factor for each partition in the topic being created. | SW_KAFKA_FETCHER_PARTITIONS_FACTOR | 2 |
|
||||
|
|
|
|||
|
|
@ -366,7 +366,6 @@ kafka-fetcher:
|
|||
namespace: ${SW_NAMESPACE:""}
|
||||
partitions: ${SW_KAFKA_FETCHER_PARTITIONS:3}
|
||||
replicationFactor: ${SW_KAFKA_FETCHER_PARTITIONS_FACTOR:2}
|
||||
enableMeterSystem: ${SW_KAFKA_FETCHER_ENABLE_METER_SYSTEM:false}
|
||||
enableNativeProtoLog: ${SW_KAFKA_FETCHER_ENABLE_NATIVE_PROTO_LOG:false}
|
||||
enableNativeJsonLog: ${SW_KAFKA_FETCHER_ENABLE_NATIVE_JSON_LOG:false}
|
||||
isSharding: ${SW_KAFKA_FETCHER_IS_SHARDING:false}
|
||||
|
|
|
|||
|
|
@ -67,8 +67,6 @@ public class KafkaFetcherConfig extends ModuleConfig {
|
|||
*/
|
||||
private int replicationFactor = 2;
|
||||
|
||||
private boolean enableMeterSystem = false;
|
||||
|
||||
private boolean enableNativeProtoLog = false;
|
||||
|
||||
private boolean enableNativeJsonLog = false;
|
||||
|
|
|
|||
|
|
@ -74,10 +74,8 @@ public class KafkaFetcherProvider extends ModuleProvider {
|
|||
handlerRegister.register(new ServiceManagementHandler(getManager(), config));
|
||||
handlerRegister.register(new TraceSegmentHandler(getManager(), config));
|
||||
handlerRegister.register(new ProfileTaskHandler(getManager(), config));
|
||||
handlerRegister.register(new MeterServiceHandler(getManager(), config));
|
||||
|
||||
if (config.isEnableMeterSystem()) {
|
||||
handlerRegister.register(new MeterServiceHandler(getManager(), config));
|
||||
}
|
||||
if (config.isEnableNativeProtoLog()) {
|
||||
handlerRegister.register(new LogHandler(getManager(), config));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue