From 43327060c2195f3502216757dbc33296e09fcb97 Mon Sep 17 00:00:00 2001 From: Amogh-Bharadwaj Date: Wed, 8 May 2024 18:20:32 +0530 Subject: [PATCH 1/2] add a doc and placeholder --- ui/app/peers/create/[peerType]/helpers/ch.ts | 1 + ui/components/PeerForms/ClickhouseConfig.tsx | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/ui/app/peers/create/[peerType]/helpers/ch.ts b/ui/app/peers/create/[peerType]/helpers/ch.ts index d45029a4e3..bfbd199eef 100644 --- a/ui/app/peers/create/[peerType]/helpers/ch.ts +++ b/ui/app/peers/create/[peerType]/helpers/ch.ts @@ -52,6 +52,7 @@ export const clickhouseSetting: PeerSetting[] = [ stateHandler: (value, setter) => setter((curr) => ({ ...curr, s3Path: value as string })), tips: `This is an S3 bucket/object URL field. This bucket will be used as our intermediate stage for CDC`, + placeholder:'s3://', }, { label: 'Access Key ID', diff --git a/ui/components/PeerForms/ClickhouseConfig.tsx b/ui/components/PeerForms/ClickhouseConfig.tsx index f2ea31eb0c..8f85118520 100644 --- a/ui/components/PeerForms/ClickhouseConfig.tsx +++ b/ui/components/PeerForms/ClickhouseConfig.tsx @@ -10,6 +10,7 @@ import { TextField } from '@/lib/TextField'; import { Tooltip } from '@/lib/Tooltip'; import { useState } from 'react'; import { InfoPopover } from '../InfoPopover'; +import Link from 'next/link'; interface ConfigProps { settings: PeerSetting[]; setter: PeerSetter; @@ -122,6 +123,10 @@ export default function ClickhouseForm({ settings, setter }: ConfigProps) {

If you want this stage to belong to you, you can configure a bucket below. +

+ + Setting up an S3 bucket +