<mxfile><diagram name="retry-dlq"><mxGraphModel adaptiveColors="auto" background="#FFFFFF" pageWidth="985" pageHeight="470"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="g" value="Retry não bloqueante e DLQ" 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="930" height="430" as="geometry"/></mxCell><mxCell id="m" value="Tópico principal&lt;br&gt;pedidos" style="rounded=1;fillColor=#FFF0E5;strokeColor=#F0B48A;whiteSpace=wrap;html=1;fontSize=13;fontColor=#1B1F24;" vertex="1" parent="1"><mxGeometry x="40" y="50" width="170" height="64" as="geometry"/></mxCell><mxCell id="c" value="Consumer&lt;br&gt;(processa e faz commit)" style="rounded=1;fillColor=#EEF4FF;strokeColor=#9DB8F2;whiteSpace=wrap;html=1;fontSize=13;fontColor=#1B1F24;" vertex="1" parent="1"><mxGeometry x="300" y="50" width="190" height="64" as="geometry"/></mxCell><mxCell id="ok" value="Sucesso:&lt;br&gt;commit do offset" style="rounded=1;fillColor=#EAF7EE;strokeColor=#8FCB9F;whiteSpace=wrap;html=1;fontSize=13;fontColor=#1B1F24;" vertex="1" parent="1"><mxGeometry x="620" y="50" width="170" height="64" as="geometry"/></mxCell><mxCell id="r1" value="Tópico pedidos-retry-5s&lt;br&gt;(consumer com atraso)" style="rounded=1;fillColor=#FFF0E5;strokeColor=#F0B48A;whiteSpace=wrap;html=1;fontSize=13;fontColor=#1B1F24;" vertex="1" parent="1"><mxGeometry x="40" y="230" width="210" height="70" as="geometry"/></mxCell><mxCell id="r2" value="Tópico&lt;br&gt;pedidos-retry-60s" style="rounded=1;fillColor=#FFF0E5;strokeColor=#F0B48A;whiteSpace=wrap;html=1;fontSize=13;fontColor=#1B1F24;" vertex="1" parent="1"><mxGeometry x="370" y="230" width="160" height="70" as="geometry"/></mxCell><mxCell id="dlt" value="Tópico pedidos-dlt&lt;br&gt;(DLQ)" style="rounded=1;fillColor=#FDECEC;strokeColor=#E8A0A0;whiteSpace=wrap;html=1;fontSize=13;fontColor=#1B1F24;" vertex="1" parent="1"><mxGeometry x="650" y="230" width="140" height="70" as="geometry"/></mxCell><mxCell id="ops" value="Alerta, análise&lt;br&gt;e reenvio" style="rounded=1;fillColor=#F2F4F7;strokeColor=#B8C0CC;whiteSpace=wrap;html=1;fontSize=13;fontColor=#1B1F24;" vertex="1" parent="1"><mxGeometry x="830" y="235" width="100" height="60" as="geometry"/></mxCell><mxCell id="bad" value="Erro de dados (retry não adianta)&lt;br&gt;vai direto para a DLQ" style="rounded=1;fillColor=#F2F4F7;strokeColor=#B8C0CC;whiteSpace=wrap;html=1;fontSize=13;fontColor=#1B1F24;" vertex="1" parent="1"><mxGeometry x="400" y="350" width="250" height="56" 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="m" target="c" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="e2" value="ok" 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="c" target="ok" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="e3" value="falha transitória" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;strokeColor=#8A94A6;fontColor=#5A626E;fontSize=11;labelBackgroundColor=#FFFFFF;endArrow=block;exitX=0.5;exitY=1;entryX=0.5;entryY=0;" edge="1" source="c" target="r1" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="e4" value="falha" 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="r1" target="r2" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="e5" value="esgotou" 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="r2" target="dlt" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="e6" 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="dlt" target="ops" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="e7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;strokeColor=#8A94A6;fontColor=#5A626E;fontSize=11;labelBackgroundColor=#FFFFFF;endArrow=block;dashed=1;exitX=1;exitY=0.5;entryX=0.5;entryY=1;" edge="1" source="bad" target="dlt" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>