<mxfile><diagram name="cargas-pesadas-latencia"><mxGraphModel adaptiveColors="auto" background="#FFFFFF" pageWidth="965" pageHeight="370"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="g1" value="Producer" 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="15" y="0" width="290" height="330" as="geometry"/></mxCell><mxCell id="g2" value="Broker e tópico" 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="325" y="0" width="290" height="330" as="geometry"/></mxCell><mxCell id="g3" value="Consumer" 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="635" y="0" width="290" height="330" as="geometry"/></mxCell><mxCell id="p1" value="batch.size e linger.ms&lt;br&gt;(lotes maiores = vazão)" style="rounded=1;fillColor=#EEF4FF;strokeColor=#9DB8F2;whiteSpace=wrap;html=1;fontSize=13;fontColor=#1B1F24;" vertex="1" parent="1"><mxGeometry x="35" y="50" width="250" height="64" as="geometry"/></mxCell><mxCell id="p2" value="compression.type&lt;br&gt;lz4, zstd ou snappy" style="rounded=1;fillColor=#EEF4FF;strokeColor=#9DB8F2;whiteSpace=wrap;html=1;fontSize=13;fontColor=#1B1F24;" vertex="1" parent="1"><mxGeometry x="35" y="135" width="250" height="64" as="geometry"/></mxCell><mxCell id="p3" value="acks=all + idempotência&lt;br&gt;(durabilidade sobre latência)" style="rounded=1;fillColor=#EEF4FF;strokeColor=#9DB8F2;whiteSpace=wrap;html=1;fontSize=13;fontColor=#1B1F24;" vertex="1" parent="1"><mxGeometry x="35" y="220" width="250" height="64" as="geometry"/></mxCell><mxCell id="b1" value="Mais partições&lt;br&gt;(paralelismo e vazão)" style="rounded=1;fillColor=#FFF0E5;strokeColor=#F0B48A;whiteSpace=wrap;html=1;fontSize=13;fontColor=#1B1F24;" vertex="1" parent="1"><mxGeometry x="345" y="50" width="250" height="64" as="geometry"/></mxCell><mxCell id="b2" value="replication.factor=3&lt;br&gt;min.insync.replicas=2" style="rounded=1;fillColor=#FFF0E5;strokeColor=#F0B48A;whiteSpace=wrap;html=1;fontSize=13;fontColor=#1B1F24;" vertex="1" parent="1"><mxGeometry x="345" y="135" width="250" height="64" as="geometry"/></mxCell><mxCell id="b3" value="Discos rápidos e page cache;&lt;br&gt;brokers e clientes na mesma região" style="rounded=1;fillColor=#FFF0E5;strokeColor=#F0B48A;whiteSpace=wrap;html=1;fontSize=13;fontColor=#1B1F24;" vertex="1" parent="1"><mxGeometry x="345" y="220" width="250" height="64" as="geometry"/></mxCell><mxCell id="c1" value="fetch.min.bytes e&lt;br&gt;fetch.max.wait.ms" style="rounded=1;fillColor=#EAF7EE;strokeColor=#8FCB9F;whiteSpace=wrap;html=1;fontSize=13;fontColor=#1B1F24;" vertex="1" parent="1"><mxGeometry x="655" y="50" width="250" height="64" as="geometry"/></mxCell><mxCell id="c2" value="max.poll.records e&lt;br&gt;processamento em lote" style="rounded=1;fillColor=#EAF7EE;strokeColor=#8FCB9F;whiteSpace=wrap;html=1;fontSize=13;fontColor=#1B1F24;" vertex="1" parent="1"><mxGeometry x="655" y="135" width="250" height="64" as="geometry"/></mxCell><mxCell id="c3" value="Paralelismo: threads por partição&lt;br&gt;ou mais consumers" style="rounded=1;fillColor=#EAF7EE;strokeColor=#8FCB9F;whiteSpace=wrap;html=1;fontSize=13;fontColor=#1B1F24;" vertex="1" parent="1"><mxGeometry x="655" y="220" width="250" height="64" 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="g1" target="g2" 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=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" source="g2" target="g3" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>