hyperscaledesignhub commented on code in PR #8: URL: https://github.com/apache/fluss-benchmarks/pull/8#discussion_r3413091255
########## e2e-iot/fluss_flink_realtime/TEST_LOCAL.md: ########## @@ -0,0 +1,207 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + +# Local Testing Guide + +This guide explains how to test the Fluss producer and Flink job locally with the minimal schema. + +## Prerequisites + +1. **Maven** - For building the JAR +2. **Fluss 0.8.0** - Extracted to `demos/demo/deploy_local_kind_fluss/fluss-0.8.0-incubating/` +3. **Flink 1.20.3** (optional) - For running Flink job locally +4. **Java 11+** - For running Java applications + +## Quick Test (Automated) + +Run the automated test script: + +```bash +cd /Users/vijayabhaskarv/IOT/FLUSS +./demos/demo/fluss_flink_realtime_demo/test-local.sh +``` + +This script will: +1. Build the demo JAR +2. Start Fluss local cluster +3. Create table with 48 buckets +4. Start producer (instance 0, 100K devices) +5. Start Flink aggregation job (if Flink is available) + +## Manual Testing (Step-by-Step) + +### Step 1: Build the JAR + +```bash +cd /Users/vijayabhaskarv/IOT/FLUSS Review Comment: Replaced hardcoded /Users/vijayabhaskarv/ paths in documentation with generic paths (~/, $FLUSS_HOME, and e2e-iot/... relative to the fluss-benchmarks repo root). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
