| 1 | import * as Layer from "effect/Layer"; |
| 2 | import { ConnectRead } from "./Connect.ts"; |
| 3 | import { |
| 4 | KAFKA_CONNECT_ACTIONS, |
| 5 | KAFKA_READ_GROUP_ACTIONS, |
| 6 | KAFKA_READ_TOPIC_ACTIONS, |
| 7 | makeKafkaConnectHttpBinding, |
| 8 | } from "./ConnectHttp.ts"; |
| 9 | |
| 10 | export const ConnectReadHttp = Layer.effect( |
| 11 | ConnectRead, |
| 12 | makeKafkaConnectHttpBinding({ |
| 13 | tag: "AWS.Kafka.ConnectRead", |
| 14 | clusterActions: KAFKA_CONNECT_ACTIONS, |
| 15 | topicActions: KAFKA_READ_TOPIC_ACTIONS, |
| 16 | groupActions: KAFKA_READ_GROUP_ACTIONS, |
| 17 | }), |
| 18 | ); |