You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: redis_stream_consumer.rs
    path of file: ./repos/svix-webhooks/bridge/svix-bridge-plugin-queue/tests/it
    
    the code of the file until where you have to start completion: //! Use the `testing-docker-compose.yml` in the repo root to run the dependencies for testing,
//! including Redis.

use std::time::Duration;

use redis::{AsyncComm
    
async fn create_test_stream(client: &Client) -> String {
    let name: String = std::iter::repeat_with(fastrand::alphanumeric)
        .take(8)
        .collect();

    let mut conn = client.get_async_connection().await.unwrap();

    let _: () = conn
        .xgroup_create_mkstream(&name, "test_cg", 0i8)
        .await
        .unwrap();

    name
}