schema-registry-api 2.0.1

REST API for a schema-registry
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use tracing::Level;
use tracing_subscriber::fmt::format::FmtSpan;

mod schema_registry;

#[tokio::test]
async fn should_works() -> anyhow::Result<()> {
    let _ = tracing_subscriber::fmt()
        .pretty()
        .with_span_events(FmtSpan::ACTIVE)
        .with_max_level(Level::INFO)
        .try_init();

    let port = 8081; // TODO test karapace
    schema_registry::should_works(port).await?;

    Ok(())
}