apache / apache/hertzbeat

[BUG] <When Chinese is inserted into the collector configuration file, there is no response when starting startup.bat>

Open
#1,523 4 comments 2 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
7.4k
Forks
1.3k
Avg merge
1d 20h
Merged PRs (30d)
32

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

使用系统记事本编辑application.yml, 对其插入了部分中文字符后导致采集器无法运行

**整个过程没有任何错误与日志输出**

### Expected Behavior

有些控制台层面的启动日志输出,以保证在启动验证阶段的错误可以被正常观测

### Steps To Reproduce

1. 将application.yml使用系统默认记事本打开
2. 将identity值改为中文
3. 保存文件
4. 执行startup.bat

### Environment

```markdown
HertzBeat version(s):
```

### Debug logs

_No response_

### Anything else?

该问题在整体部署环节中被测试发现,其本质并不能算作一个严格意义的BUG
在此发出记录

**将配置文件默认格式改为UTF-8后重新编辑中文内容即可**

Contributor guide

Open the contributing guide

Research direction

Start with startup.bat and application.yml, reproducing the launch after changing identity to Chinese with the system editor. Trace how startup validation and console output behave when the configuration encoding is not UTF-8. Done means startup failures are observable through console logs, with the existing reproduction covered or clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, shell
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.