Hi Eno,

Please find my answers inline.


We are in the process of documenting capacity planning for streams, stay
> tuned.
>

This would be great! Looking forward to it.

Could you send some more info on your problem? What Kafka version are you
> using?
>

We are using Kafka 0.10.0.0.


> Are the VMs on the same or different hosts?
>

The VMs are on Google Cloud. Two of them are in asia-east1-a and one is in
asia-east1-c. All three are n1-standard-4 Ubuntu instances.


> Also what exactly do you mean by “the lag keeps fluctuating”, what metric
> are you looking at?
>

We are looking at Kafka Manager for the time being. By fluctuating, I mean
the lag is few thousands at one time, we refresh it the next second, it is
in few lakhs, and again refresh it and it is few thousands. I understand
this may not be very accurate. We will soon have more accurate data once we
start pushing the consumer lag metric to Datadog.

But on a separate note, the difference between lags on different partitions
is way too high. I have attached a tab separated file herewith which shows
the consumer lag (from Kafka Manager) for the first the 50 partitions. As
is clear, the lag on partition 2 is 530 while the lag on partition 18 is
23K. Note that the same VM is pulling data from both the partitions.
PartitionLogSizeConsumer OffsetLagConsumer Instance Owner
0129679486129678929557aggregator_1-1-StreamThread-2-consumer-aaa:/10.x.y.125
11297291861297251634023aggregator_1-1-StreamThread-5-consumer-bbb:/10.x.y.123
2129602164129601634530aggregator_1-1-StreamThread-1-consumer-ccc:/10.x.y.124
3130425020130424459561aggregator_1-1-StreamThread-8-consumer-ddd:/10.x.y.125
4131598849131598265584aggregator_1-1-StreamThread-4-consumer-eee:/10.x.y.124
5130755630130755081549aggregator_1-1-StreamThread-5-consumer-fff:/10.x.y.125
6128054693128054104589aggregator_1-1-StreamThread-1-consumer-ggg:/10.x.y.125
7131354755131354171584aggregator_1-1-StreamThread-6-consumer-hhh:/10.x.y.125
8129797007129796461546aggregator_1-1-StreamThread-10-consumer-iii:/10.x.y.125
9129087167129086580587aggregator_1-1-StreamThread-5-consumer-jjj:/10.x.y.124
10128365714128365102612aggregator_1-1-StreamThread-3-consumer-kkk:/10.x.y.125
11132069213132068751462aggregator_1-1-StreamThread-4-consumer-lll:/10.x.y.123
12130412684130412095589aggregator_1-1-StreamThread-3-consumer-mmm:/10.x.y.124
13132199972132199443529aggregator_1-1-StreamThread-2-consumer-nnn:/10.x.y.124
14129481438129480844594aggregator_1-1-StreamThread-7-consumer-ooo:/10.x.y.124
15130105939130105341598aggregator_1-1-StreamThread-2-consumer-aaa:/10.x.y.125
16131973373131972814559aggregator_1-1-StreamThread-8-consumer-ddd:/10.x.y.125
171300840321300828751157aggregator_1-1-StreamThread-8-consumer-ppp:/10.x.y.123
1813022073713019757623161aggregator_1-1-StreamThread-6-consumer-qqq:/10.x.y.124
19129962307129961682625aggregator_1-1-StreamThread-8-consumer-rrr:/10.x.y.124
20131692478131691927551aggregator_1-1-StreamThread-1-consumer-ggg:/10.x.y.125
21129638851129638323528aggregator_1-1-StreamThread-6-consumer-hhh:/10.x.y.125
22130918801130918241560aggregator_1-1-StreamThread-4-consumer-eee:/10.x.y.124
23131338127131337572555aggregator_1-1-StreamThread-10-consumer-iii:/10.x.y.125
24130390257130389704553aggregator_1-1-StreamThread-3-consumer-kkk:/10.x.y.125
25131383888131383468420aggregator_1-1-StreamThread-9-consumer-sss:/10.x.y.123
26127540041127539487554aggregator_1-1-StreamThread-3-consumer-mmm:/10.x.y.124
27130159933130159385548aggregator_1-1-StreamThread-2-consumer-aaa:/10.x.y.125
28129010992129010397595aggregator_1-1-StreamThread-8-consumer-ddd:/10.x.y.125
29128511277128510723554aggregator_1-1-StreamThread-7-consumer-ooo:/10.x.y.124
30131262395131261954441aggregator_1-1-StreamThread-9-consumer-sss:/10.x.y.125
31129162405129161881524aggregator_1-1-StreamThread-9-consumer-ttt:/10.x.y.124
32129693104129692591513aggregator_1-1-StreamThread-1-consumer-ggg:/10.x.y.125
33131763991131763433558aggregator_1-1-StreamThread-10-consumer-iii:/10.x.y.125
3413095456713093132623241aggregator_1-1-StreamThread-6-consumer-qqq:/10.x.y.124
35132248088132247595493aggregator_1-1-StreamThread-3-consumer-kkk:/10.x.y.125
361298931331298920191114aggregator_1-1-StreamThread-8-consumer-ppp:/10.x.y.123
37130264671130264251420aggregator_1-1-StreamThread-7-consumer-uuu:/10.x.y.125
38131077963131077526437aggregator_1-1-StreamThread-3-consumer-vvv:/10.x.y.123
39132299025132298434591aggregator_1-1-StreamThread-5-consumer-jjj:/10.x.y.124
40130839786130839203583aggregator_1-1-StreamThread-4-consumer-www:/10.x.y.125
41130605454130605019435aggregator_1-1-StreamThread-2-consumer-xxx:/10.x.y.123
42128768310128767757553aggregator_1-1-StreamThread-2-consumer-aaa:/10.x.y.125
43130863269130862681588aggregator_1-1-StreamThread-8-consumer-ddd:/10.x.y.125
44128897764128897205559aggregator_1-1-StreamThread-2-consumer-nnn:/10.x.y.124
45129363920129363346574aggregator_1-1-StreamThread-7-consumer-ooo:/10.x.y.124
46130108718130108198520aggregator_1-1-StreamThread-5-consumer-fff:/10.x.y.125
47130231647130231107540aggregator_1-1-StreamThread-10-consumer-yyy:/10.x.y.124
48130138443130137894549aggregator_1-1-StreamThread-9-consumer-ttt:/10.x.y.124
4913057308513054985123234aggregator_1-1-StreamThread-6-consumer-qqq:/10.x.y.124

Reply via email to