[
https://issues.apache.org/jira/browse/GOBBLIN-1934?focusedWorklogId=887066&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-887066
]
ASF GitHub Bot logged work on GOBBLIN-1934:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 24/Oct/23 20:10
Start Date: 24/Oct/23 20:10
Worklog Time Spent: 10m
Work Description: umustafi commented on code in PR #3805:
URL: https://github.com/apache/gobblin/pull/3805#discussion_r1370759929
##########
gobblin-service/src/main/java/org/apache/gobblin/service/monitoring/DagActionStoreChangeMonitor.java:
##########
@@ -219,10 +218,11 @@ protected void submitFlowToDagManagerHelper(String
flowGroup, String flowName) {
protected void createMetrics() {
super.messagesRead =
this.getMetricContext().counter(RuntimeMetrics.DAG_ACTION_STORE_MONITOR_PREFIX
+ "." + RuntimeMetrics.GOBBLIN_KAFKA_HIGH_LEVEL_CONSUMER_MESSAGES_READ);
super.queueSizeGauges = new ContextAwareGauge[super.numThreads];
- for (int i=0; i < numThreads; i++) {
+ for (int i = 0; i < numThreads; i++) {
// An 'effectively' final variable is needed inside the lambda
expression below
int finalI = i;
this.queueSizeGauges[i] = this.getMetricContext().newContextAwareGauge(
+ RuntimeMetrics.DAG_ACTION_STORE_MONITOR_PREFIX + "." +
Review Comment:
Made the changes you described above
Issue Time Tracking
-------------------
Worklog Id: (was: 887066)
Time Spent: 2h 10m (was: 2h)
> Monitor High Level Consumer queue size
> --------------------------------------
>
> Key: GOBBLIN-1934
> URL: https://issues.apache.org/jira/browse/GOBBLIN-1934
> Project: Apache Gobblin
> Issue Type: Improvement
> Components: gobblin-service
> Reporter: Urmi Mustafi
> Assignee: Abhishek Tiwari
> Priority: Major
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> We suspect that the HighLevelConsumer class may be dropping Kafka messages if
> the thread for a particular consumption queue is interrupted or stalled.
> Before changing how these queues are handled, we want to verify that blocked
> or dropped queues is the reason for missed messages by emitting metrics about
> each queue's size.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)