Skip to content

Commit

Permalink
docs: update repo link
Browse files Browse the repository at this point in the history
  • Loading branch information
Chloe He committed Jul 11, 2024
1 parent f5dd8fb commit b90cb1d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
20 changes: 10 additions & 10 deletions docs/posts/flink-announcement/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ pixi add ibis-flink

## Spinning up the services using Docker Compose

The [ibis-project/ibis-flink-example GitHub
repository](https://github.com/ibis-project/ibis-flink-example) includes the
The [ibis-project/realtime-fraud-detection GitHub
repository](https://github.com/ibis-project/realtime-fraud-detection) includes the
relevant Docker Compose configuration for this tutorial. Clone the repository,
and run `docker compose up` from the cloned directory to create Kafka topics,
generate sample data, and launch a Flink cluster:

```bash
git clone https://github.com/claypotai/ibis-flink-example.git
cd ibis-flink-example
git clone https://github.com/claypotai/realtime-fraud-detection.git
cd realtime-fraud-detection
docker compose up
```

Expand All @@ -88,12 +88,12 @@ After a few seconds, you should see messages indicating your Kafka environment
is ready:

```bash
ibis-flink-example-init-kafka-1 | Successfully created the following topics:
ibis-flink-example-init-kafka-1 | payment_msg
ibis-flink-example-init-kafka-1 | sink
ibis-flink-example-init-kafka-1 exited with code 0
ibis-flink-example-data-generator-1 | Connected to Kafka
ibis-flink-example-data-generator-1 | Producing 20000 records to Kafka topic payment_msg
realtime-fraud-detection-init-kafka-1 | Successfully created the following topics:
realtime-fraud-detection-init-kafka-1 | payment_msg
realtime-fraud-detection-init-kafka-1 | sink
realtime-fraud-detection-init-kafka-1 exited with code 0
realtime-fraud-detection-data-generator-1 | Connected to Kafka
realtime-fraud-detection-data-generator-1 | Producing 20000 records to Kafka topic payment_msg
```

This example uses mock payments data. The `payment_msg` Kafka topic contains
Expand Down
6 changes: 3 additions & 3 deletions docs/posts/unified-stream-batch/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ website](https://docs.docker.com/compose/install/).
* Follow [the setup
tutorial](../../tutorials/open-source-software/apache-flink/0_setup.qmd) to
install the Flink backend for Ibis.
* Clone the [example repository](https://github.com/ibis-project/ibis-flink-example).
* Clone the [example repository](https://github.com/ibis-project/realtime-fraud-detection).
:::

::: {.callout-note}
Expand All @@ -199,8 +199,8 @@ would extract a chunk of the data and load it in batch:
# | code-fold: true
# | include: false
!pip install apache-flink kafka-python
!git clone https://github.com/ibis-project/ibis-flink-example
!cd ibis-flink-example && docker compose up kafka init-kafka data-generator -d && sleep 10 && cd ..
!git clone https://github.com/ibis-project/realtime-fraud-detection
!cd realtime-fraud-detection && docker compose up kafka init-kafka data-generator -d && sleep 10 && cd ..
```

```{python}
Expand Down

0 comments on commit b90cb1d

Please sign in to comment.