Skip to content

Commit

Permalink
postgres sink problem
Browse files Browse the repository at this point in the history
  • Loading branch information
vertexclique committed Dec 15, 2023
1 parent b485891 commit ccad842
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/postgres-sink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ async fn postgres_agent(stream: CStream, _ctx: Context<()>) -> Result<()> {
fn main() {
let mut app = Callysto::new();

app.with_name("elasticsearch-app");
app.agent("elastic-agent", app.topic("example"), postgres_agent);
app.with_name("postgres-sink-app");
app.agent("postgres-agent", app.topic("example"), postgres_agent);

app.run();
}

0 comments on commit ccad842

Please sign in to comment.