-
Notifications
You must be signed in to change notification settings - Fork 61
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
Show real outgoing bytes #236
Conversation
Track producers' "outgoing-byte-total" and consumers' "incoming-byte-total".
@chinghongfang 剛剛合併了 #214 就噴出一堆衝突了@@ 麻煩再修正一下 |
Add unit test for transactional producer on real bytes output. Fix unit test and make more assertions.
app/src/main/java/org/astraea/app/performance/MutableMetric.java
Outdated
Show resolved
Hide resolved
@chinghongfang 這個進度如何? |
因為 #460 引進了local mbean ,接下來將使用local mbean 來改寫。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chinghongfang 感謝更新,兩個建議請看一下
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chinghongfang 這次的修改也很棒,剩一個小意見請看一下
app/src/main/java/org/astraea/app/performance/TrackerThread.java
Outdated
Show resolved
Hide resolved
@chinghongfang 狀況如何?可否完成最後一個小修改後合併? |
我不了解要用什麼 |
我的意思是前一個 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chinghongfang 還有兩個小地方請看一下
app/src/main/java/org/astraea/app/performance/TrackerThread.java
Outdated
Show resolved
Hide resolved
app/src/main/java/org/astraea/app/performance/TrackerThread.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chinghongfang 還有兩個細節請看一下
app/src/main/java/org/astraea/app/performance/TrackerThread.java
Outdated
Show resolved
Hide resolved
app/src/main/java/org/astraea/app/performance/TrackerThread.java
Outdated
Show resolved
Hide resolved
@chinghongfang 不好意思,麻煩修復一下衝突 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chinghongfang 有兩個使用上的建議請看一下
#226
我們的performance tool目前只會顯示"serialized value"大小,無法看到真正傳輸出去的資料量大小,由於我們的工具會支援"壓縮",所以我們更需要真正的傳輸量。
這隻pr在
Producer
介面新增一個新的方法,用來獲取producer/consumer的KafkaMetrics
,讓我們可以取得producer/consumer內部紀錄的數據。並且將暴露出來的
KafkaMetrics
放在astraea.performance.Metrics
中保管(計算&轉型)。讓tracker輸出實際傳輸量,提供使用者更多資訊。