Skip to content

Commit f5245ac

Browse files
committed
fix
1 parent 04e6d50 commit f5245ac

File tree

4 files changed

+7
-146
lines changed

4 files changed

+7
-146
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ services:
2626
- kafka
2727

2828
kafka:
29-
image: apache/kafka
29+
image: apache/kafka:3.8.0
3030
hostname: kafka
3131
ports:
3232
- "9092:9092"

examples/go-processor/build.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
13-
#!/bin/bash
1413

1514
set -euo pipefail
1615

@@ -41,6 +40,10 @@ if [ ! -d "$WIT_DEPS_DIR" ] || [ -z "$(ls -A "$WIT_DEPS_DIR" 2>/dev/null)" ]; th
4140
fi
4241

4342
if ! command -v tinygo &> /dev/null; then
43+
printf "Error: 'tinygo' command not found.\n" >&2
44+
printf "TinyGo is required to build the WebAssembly component.\n" >&2
45+
printf "Please install TinyGo and ensure it is on your PATH.\n" >&2
46+
printf "See https://tinygo.org/getting-started/install/ for installation instructions.\n" >&2
4447
exit 1
4548
fi
4649

examples/python-processor/processor_impl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ def process(self, ctx: Context, source_id: int, data: bytes) -> None:
7171
# REQUIREMENT: Emit output for every single message processed
7272
self._emit_snapshot(ctx)
7373

74-
except Exception as e:
75-
raise e
74+
except Exception:
75+
raise
7676

7777
def _emit_snapshot(self, ctx: Context):
7878
"""Helper: Serialize and emit current state."""

examples/python-processor/serializer.py

Lines changed: 0 additions & 142 deletions
This file was deleted.

0 commit comments

Comments
 (0)