<mxfile><diagram name="consumer-groups"><mxGraphModel adaptiveColors="auto" background="#FFFFFF" pageWidth="970" pageHeight="380"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="t" value="Tópico pedidos&lt;br&gt;6 partições (P0 a P5)" style="rounded=1;fillColor=#FFF0E5;strokeColor=#F0B48A;whiteSpace=wrap;html=1;fontSize=13;fontColor=#1B1F24;" vertex="1" parent="1"><mxGeometry x="20" y="130" width="190" height="80" as="geometry"/></mxCell><mxCell id="ga" value="Group faturamento (escala: até 6 consumers úteis)" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#F7F8FA;strokeColor=#D5DAE1;dashed=1;verticalAlign=top;align=left;spacingLeft=10;spacingTop=6;fontSize=13;fontStyle=1;fontColor=#5A626E;" vertex="1" parent="1"><mxGeometry x="280" y="0" width="360" height="200" as="geometry"/></mxCell><mxCell id="a1" value="Consumer 1 → P0, P1" style="rounded=1;fillColor=#EEF4FF;strokeColor=#9DB8F2;whiteSpace=wrap;html=1;fontSize=13;fontColor=#1B1F24;" vertex="1" parent="1"><mxGeometry x="310" y="40" width="300" height="40" as="geometry"/></mxCell><mxCell id="a2" value="Consumer 2 → P2, P3" style="rounded=1;fillColor=#EEF4FF;strokeColor=#9DB8F2;whiteSpace=wrap;html=1;fontSize=13;fontColor=#1B1F24;" vertex="1" parent="1"><mxGeometry x="310" y="95" width="300" height="40" as="geometry"/></mxCell><mxCell id="a3" value="Consumer 3 → P4, P5" style="rounded=1;fillColor=#EEF4FF;strokeColor=#9DB8F2;whiteSpace=wrap;html=1;fontSize=13;fontColor=#1B1F24;" vertex="1" parent="1"><mxGeometry x="310" y="150" width="300" height="40" as="geometry"/></mxCell><mxCell id="gb" value="Group analytics (independente, lê tudo)" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#F7F8FA;strokeColor=#D5DAE1;dashed=1;verticalAlign=top;align=left;spacingLeft=10;spacingTop=6;fontSize=13;fontStyle=1;fontColor=#5A626E;" vertex="1" parent="1"><mxGeometry x="280" y="230" width="360" height="110" as="geometry"/></mxCell><mxCell id="b1" value="Consumer único → P0 a P5" style="rounded=1;fillColor=#EEF4FF;strokeColor=#9DB8F2;whiteSpace=wrap;html=1;fontSize=13;fontColor=#1B1F24;" vertex="1" parent="1"><mxGeometry x="310" y="275" width="300" height="44" as="geometry"/></mxCell><mxCell id="n" value="Regra: cada partição vai&lt;br&gt;para 1 consumer por grupo.&lt;br&gt;Consumer 7 num grupo de 6&lt;br&gt;partições fica ocioso." style="rounded=1;fillColor=#F2F4F7;strokeColor=#B8C0CC;whiteSpace=wrap;html=1;fontSize=13;fontColor=#1B1F24;" vertex="1" parent="1"><mxGeometry x="690" y="60" width="240" height="100" as="geometry"/></mxCell><mxCell id="r" value="Rebalance: entrada ou saída de&lt;br&gt;consumer redistribui partições.&lt;br&gt;Use assignor cooperativo e&lt;br&gt;group.instance.id (static)." style="rounded=1;fillColor=#F3EEFF;strokeColor=#B9A6F0;whiteSpace=wrap;html=1;fontSize=13;fontColor=#1B1F24;" vertex="1" parent="1"><mxGeometry x="690" y="200" width="240" height="100" as="geometry"/></mxCell><mxCell id="e1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;strokeColor=#8A94A6;fontColor=#5A626E;fontSize=11;labelBackgroundColor=#FFFFFF;endArrow=block;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" source="t" target="ga" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="e2" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;strokeColor=#8A94A6;fontColor=#5A626E;fontSize=11;labelBackgroundColor=#FFFFFF;endArrow=block;exitX=0.5;exitY=1;entryX=0;entryY=0.5;" edge="1" source="t" target="gb" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>