Fix Kafka retry seek, bound buffers, and cut hot-path CPU/memory waste (Phases 41–44).
Stop consumers from committing past failed offsets, harden Rabbit/DataLake/gateway backpressure, dispose JsonDocument/MinIO correctly, and batch expensive DB/HTTP paths. Track progress in docs/performance.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using Elastic.Clients.Elasticsearch;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.Diagnostics.HealthChecks;
|
||||
using Minio;
|
||||
using Prometheus;
|
||||
using Serilog;
|
||||
using StackExchange.Redis;
|
||||
@@ -16,6 +17,7 @@ using Microsoft.AspNetCore.Authorization;
|
||||
using System.Text;
|
||||
using Microsoft.OpenApi;
|
||||
using Microsoft.AspNetCore.DataProtection;
|
||||
using Microsoft.Extensions.Options;
|
||||
|
||||
Log.Logger = new LoggerConfiguration()
|
||||
.WriteTo.Console()
|
||||
@@ -114,6 +116,8 @@ try
|
||||
builder.Configuration.GetSection(RabbitMqOptions.Section));
|
||||
builder.Services.Configure<MinioOptions>(
|
||||
builder.Configuration.GetSection(MinioOptions.Section));
|
||||
builder.Services.AddSingleton<IMinioClient>(sp =>
|
||||
MinioClientFactory.Build(sp.GetRequiredService<IOptions<MinioOptions>>().Value));
|
||||
|
||||
builder.Services.AddSingleton<RabbitMqTopologyProvisioner>();
|
||||
builder.Services.AddHostedService(sp => sp.GetRequiredService<RabbitMqTopologyProvisioner>());
|
||||
|
||||
Reference in New Issue
Block a user