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: main.rs
    path of file: ./repos/fluvio/examples/03-echo/src
    
    the code of the file until where you have to start completion: //! A simple echo application with Fluvio, to demonstrate producing and consuming messages
//!
//! Fluvio is a streaming platform with a simple API for quick development.
//! This example demonstrates how to perform two key streaming operations:
//! producing and consuming messages.
//!
//! # Installation
//!
//! Before running this example, you need to make sure you have Fluvio installed.
//! If you haven't yet, visit our [installation page], then come back here.
//!
/
    
async fn main() {
    let produce_handle = spawn(produce());
    let consume_handle = spawn(consume());

    let timed_result = timeout(
        Duration::from_millis(TIMEOUT_MS),
        join(produce_handle, consume_handle),
    )
    .await;

    let (produce_result, consume_result) = match timed_result {
        Ok(results) => results,
        Err(_) => {
            println!("Echo timed out after {TIMEOUT_MS}ms");
            std::process::exit(1);
        }
    };

    match (produce_result, consume_result) {
        (Err(produce_err), Err(consume_err)) => {
            println!("Echo produce error: {produce_err:?}");
            println!("Echo consume error: {consume_err:?}");
            std::process::exit(1);
        }
        (Err(produce_err), _) => {
            println!("Echo produce error: {produce_err:?}");
            std::process::exit(1);
        }
        (_, Err(consume_err)) => {
            println!("Echo consume error: {consume_err:?}");
            std::process::exit(1);
        }
        _ => (),
    }
}