{ "nbformat": 4, "nbformat_minor": 0, "metadata": { "colab": { "provenance": [] }, "kernelspec": { "name": "python3", "display_name": "Python 3" }, "language_info": { "name": "python" } }, "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "AX5lUCZx-mez", "outputId": "657d3e1d-b976-4b6c-f981-13a88bd600f7" }, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ "Collecting confluent-kafka\n", " Downloading confluent_kafka-2.14.0-cp312-cp312-manylinux_2_28_x86_64.whl.metadata (32 kB)\n", "Downloading confluent_kafka-2.14.0-cp312-cp312-manylinux_2_28_x86_64.whl (4.0 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m4.0/4.0 MB\u001b[0m \u001b[31m39.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hInstalling collected packages: confluent-kafka\n", "Successfully installed confluent-kafka-2.14.0\n" ] } ], "source": [ "pip install confluent-kafka" ] }, { "cell_type": "code", "source": [ "import time\n", "import json\n", "import random\n", "from confluent_kafka import Producer\n", "\n", "conf = {\n", " 'bootstrap.servers': 'pkc-oxqxx9.us-east-1.aws.confluent.cloud:9092',\n", " 'security.protocol': 'SASL_SSL',\n", " 'sasl.mechanisms': 'PLAIN',\n", " 'sasl.username': 'API_KEY',\n", " 'sasl.password': 'PASSWORD'\n", "}\n", "\n", "producer = Producer(conf)\n", "\n", "topic = \"stream_demo\"\n", "\n", "print(\"Producer started...\")\n", "\n", "def delivery_report(err, msg):\n", " if err is not None:\n", " print(f\"Delivery failed: {err}\")\n", " else:\n", " print(f\"Sent to {msg.topic()}\")\n", "\n", "while True:\n", " # normal transaction\n", " amount = random.uniform(10, 500)\n", "\n", " # inject anomaly (5% chance)\n", " if random.random() < 0.05:\n", " amount = random.uniform(2000, 5000)\n", "\n", " transaction = {\n", " \"user_id\": random.randint(1, 100),\n", " \"amount\": round(amount, 2),\n", " \"timestamp\": time.time()\n", " }\n", "\n", " producer.produce(\n", " topic,\n", " key=str(transaction[\"user_id\"]),\n", " value=json.dumps(transaction).encode('utf-8'),\n", " callback=delivery_report\n", " )\n", "\n", " producer.flush()\n", "\n", " print(\"Sent:\", transaction)\n", "\n", " time.sleep(1)" ], "metadata": { "id": "sBgRqNmbCLu4", "colab": { "base_uri": "https://localhost:8080/", "height": 1000 }, "outputId": "8baa6a1e-a4bd-4ad2-b90f-53e5fac5ee5a" }, "execution_count": 4, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ "Producer started...\n", "Sent to stream_demo\n", "Sent: {'user_id': 77, 'amount': 351.76, 'timestamp': 1778510152.4665923}\n", "Sent to stream_demo\n", "Sent: {'user_id': 48, 'amount': 223.08, 'timestamp': 1778510154.0937831}\n", "Sent to stream_demo\n", "Sent: {'user_id': 20, 'amount': 338.07, 'timestamp': 1778510155.1240814}\n", "Sent to stream_demo\n", "Sent: {'user_id': 9, 'amount': 234.55, 'timestamp': 1778510156.1537046}\n", "Sent to stream_demo\n", "Sent: {'user_id': 10, 'amount': 107.14, 'timestamp': 1778510157.4809635}\n", "Sent to stream_demo\n", "Sent: {'user_id': 1, 'amount': 262.07, 'timestamp': 1778510158.510093}\n", "Sent to stream_demo\n", "Sent: {'user_id': 45, 'amount': 37.46, 'timestamp': 1778510159.8149989}\n", "Sent to stream_demo\n", "Sent: {'user_id': 11, 'amount': 75.84, 'timestamp': 1778510161.1382623}\n", "Sent to stream_demo\n", "Sent: {'user_id': 12, 'amount': 171.71, 'timestamp': 1778510162.1673222}\n", "Sent to stream_demo\n", "Sent: {'user_id': 89, 'amount': 204.38, 'timestamp': 1778510163.196486}\n", "Sent to stream_demo\n", "Sent: {'user_id': 29, 'amount': 359.56, 'timestamp': 1778510164.2258503}\n", "Sent to stream_demo\n", "Sent: {'user_id': 3, 'amount': 81.5, 'timestamp': 1778510165.5405767}\n", "Sent to stream_demo\n", "Sent: {'user_id': 38, 'amount': 135.5, 'timestamp': 1778510166.570033}\n", "Sent to stream_demo\n", "Sent: {'user_id': 22, 'amount': 174.5, 'timestamp': 1778510167.5993009}\n", "Sent to stream_demo\n", "Sent: {'user_id': 10, 'amount': 212.64, 'timestamp': 1778510168.6291187}\n", "Sent to stream_demo\n", "Sent: {'user_id': 13, 'amount': 13.29, 'timestamp': 1778510169.658835}\n", "Sent to stream_demo\n", "Sent: {'user_id': 48, 'amount': 326.67, 'timestamp': 1778510170.6885588}\n", "Sent to stream_demo\n", "Sent: {'user_id': 13, 'amount': 157.74, 'timestamp': 1778510171.7183473}\n", "Sent to stream_demo\n", "Sent: {'user_id': 77, 'amount': 153.83, 'timestamp': 1778510172.7483194}\n", "Sent to stream_demo\n", "Sent: {'user_id': 27, 'amount': 21.78, 'timestamp': 1778510173.778336}\n", "Sent to stream_demo\n", "Sent: {'user_id': 47, 'amount': 265.13, 'timestamp': 1778510174.807987}\n", "Sent to stream_demo\n", "Sent: {'user_id': 83, 'amount': 277.96, 'timestamp': 1778510175.8370657}\n", "Sent to stream_demo\n", "Sent: {'user_id': 57, 'amount': 493.06, 'timestamp': 1778510176.8671849}\n", "Sent to stream_demo\n", "Sent: {'user_id': 97, 'amount': 121.0, 'timestamp': 1778510177.8968506}\n", "Sent to stream_demo\n", "Sent: {'user_id': 57, 'amount': 167.35, 'timestamp': 1778510178.9264553}\n", "Sent to stream_demo\n", "Sent: {'user_id': 34, 'amount': 462.61, 'timestamp': 1778510179.956188}\n", "Sent to stream_demo\n", "Sent: {'user_id': 47, 'amount': 72.13, 'timestamp': 1778510180.9862745}\n", "Sent to stream_demo\n", "Sent: {'user_id': 12, 'amount': 350.8, 'timestamp': 1778510182.0161161}\n", "Sent to stream_demo\n", "Sent: {'user_id': 85, 'amount': 187.34, 'timestamp': 1778510183.0454524}\n", "Sent to stream_demo\n", "Sent: {'user_id': 16, 'amount': 394.83, 'timestamp': 1778510184.07474}\n", "Sent to stream_demo\n", "Sent: {'user_id': 34, 'amount': 110.2, 'timestamp': 1778510185.104257}\n", "Sent to stream_demo\n", "Sent: {'user_id': 18, 'amount': 115.74, 'timestamp': 1778510186.1342688}\n", "Sent to stream_demo\n", "Sent: {'user_id': 46, 'amount': 448.37, 'timestamp': 1778510187.1632001}\n", "Sent to stream_demo\n", "Sent: {'user_id': 61, 'amount': 153.67, 'timestamp': 1778510188.1923819}\n", "Sent to stream_demo\n", "Sent: {'user_id': 58, 'amount': 177.23, 'timestamp': 1778510189.5237432}\n", "Sent to stream_demo\n", "Sent: {'user_id': 28, 'amount': 165.0, 'timestamp': 1778510190.5531268}\n", "Sent to stream_demo\n", "Sent: {'user_id': 3, 'amount': 472.81, 'timestamp': 1778510191.5829804}\n", "Sent to stream_demo\n", "Sent: {'user_id': 68, 'amount': 472.09, 'timestamp': 1778510192.6119454}\n", "Sent to stream_demo\n", "Sent: {'user_id': 22, 'amount': 234.14, 'timestamp': 1778510193.6422215}\n", "Sent to stream_demo\n", "Sent: {'user_id': 42, 'amount': 383.04, 'timestamp': 1778510194.6726005}\n", "Sent to stream_demo\n", "Sent: {'user_id': 38, 'amount': 115.77, 'timestamp': 1778510195.7026536}\n", "Sent to stream_demo\n", "Sent: {'user_id': 10, 'amount': 311.61, 'timestamp': 1778510196.73322}\n", "Sent to stream_demo\n", "Sent: {'user_id': 6, 'amount': 96.53, 'timestamp': 1778510197.7629166}\n", "Sent to stream_demo\n", "Sent: {'user_id': 76, 'amount': 209.14, 'timestamp': 1778510198.7932982}\n", "Sent to stream_demo\n", "Sent: {'user_id': 62, 'amount': 458.88, 'timestamp': 1778510199.8233252}\n", "Sent to stream_demo\n", "Sent: {'user_id': 69, 'amount': 167.39, 'timestamp': 1778510200.853273}\n", "Sent to stream_demo\n", "Sent: {'user_id': 29, 'amount': 3758.67, 'timestamp': 1778510201.883626}\n", "Sent to stream_demo\n", "Sent: {'user_id': 22, 'amount': 71.79, 'timestamp': 1778510202.9138556}\n", "Sent to stream_demo\n", "Sent: {'user_id': 60, 'amount': 186.92, 'timestamp': 1778510203.943923}\n", "Sent to stream_demo\n", "Sent: {'user_id': 100, 'amount': 4098.14, 'timestamp': 1778510204.9740896}\n", "Sent to stream_demo\n", "Sent: {'user_id': 27, 'amount': 80.88, 'timestamp': 1778510206.0039291}\n", "Sent to stream_demo\n", "Sent: {'user_id': 89, 'amount': 320.29, 'timestamp': 1778510207.0332322}\n", "Sent to stream_demo\n", "Sent: {'user_id': 3, 'amount': 372.54, 'timestamp': 1778510208.063254}\n", "Sent to stream_demo\n", "Sent: {'user_id': 100, 'amount': 468.39, 'timestamp': 1778510209.0925171}\n", "Sent to stream_demo\n", "Sent: {'user_id': 1, 'amount': 94.6, 'timestamp': 1778510210.1223755}\n", "Sent to stream_demo\n", "Sent: {'user_id': 38, 'amount': 76.35, 'timestamp': 1778510211.1524737}\n", "Sent to stream_demo\n", "Sent: {'user_id': 31, 'amount': 159.31, 'timestamp': 1778510212.1818779}\n", "Sent to stream_demo\n", "Sent: {'user_id': 79, 'amount': 3956.47, 'timestamp': 1778510213.2114854}\n", "Sent to stream_demo\n", "Sent: {'user_id': 2, 'amount': 191.65, 'timestamp': 1778510214.241188}\n", "Sent to stream_demo\n", "Sent: {'user_id': 51, 'amount': 139.83, 'timestamp': 1778510215.2705061}\n", "Sent to stream_demo\n", "Sent: {'user_id': 18, 'amount': 73.84, 'timestamp': 1778510216.300152}\n", "Sent to stream_demo\n", "Sent: {'user_id': 95, 'amount': 3275.57, 'timestamp': 1778510217.3293777}\n", "Sent to stream_demo\n", "Sent: {'user_id': 53, 'amount': 493.15, 'timestamp': 1778510218.3603318}\n", "Sent to stream_demo\n", "Sent: {'user_id': 5, 'amount': 320.14, 'timestamp': 1778510219.3900566}\n", "Sent to stream_demo\n", "Sent: {'user_id': 8, 'amount': 400.47, 'timestamp': 1778510220.4211605}\n", "Sent to stream_demo\n", "Sent: {'user_id': 97, 'amount': 297.84, 'timestamp': 1778510221.4513907}\n", "Sent to stream_demo\n", "Sent: {'user_id': 91, 'amount': 34.63, 'timestamp': 1778510222.4809701}\n", "Sent to stream_demo\n", "Sent: {'user_id': 54, 'amount': 419.6, 'timestamp': 1778510223.511155}\n", "Sent to stream_demo\n", "Sent: {'user_id': 93, 'amount': 425.9, 'timestamp': 1778510224.541791}\n", "Sent to stream_demo\n", "Sent: {'user_id': 50, 'amount': 255.83, 'timestamp': 1778510225.5711832}\n", "Sent to stream_demo\n", "Sent: {'user_id': 53, 'amount': 2273.93, 'timestamp': 1778510226.6007135}\n", "Sent to stream_demo\n", "Sent: {'user_id': 26, 'amount': 120.5, 'timestamp': 1778510227.630809}\n", "Sent to stream_demo\n", "Sent: {'user_id': 93, 'amount': 192.09, 'timestamp': 1778510228.659942}\n", "Sent to stream_demo\n", "Sent: {'user_id': 32, 'amount': 492.13, 'timestamp': 1778510229.6890533}\n", "Sent to stream_demo\n", "Sent: {'user_id': 64, 'amount': 34.75, 'timestamp': 1778510230.7177963}\n", "Sent to stream_demo\n", "Sent: {'user_id': 67, 'amount': 398.28, 'timestamp': 1778510231.74685}\n", "Sent to stream_demo\n", "Sent: {'user_id': 47, 'amount': 464.83, 'timestamp': 1778510232.7759385}\n", "Sent to stream_demo\n", "Sent: {'user_id': 58, 'amount': 365.26, 'timestamp': 1778510233.8052585}\n", "Sent to stream_demo\n", "Sent: {'user_id': 48, 'amount': 304.83, 'timestamp': 1778510234.8344953}\n", "Sent to stream_demo\n", "Sent: {'user_id': 93, 'amount': 190.25, 'timestamp': 1778510235.864368}\n", "Sent to stream_demo\n", "Sent: {'user_id': 66, 'amount': 196.56, 'timestamp': 1778510236.8933077}\n", "Sent to stream_demo\n", "Sent: {'user_id': 21, 'amount': 98.14, 'timestamp': 1778510237.9225159}\n", "Sent to stream_demo\n", "Sent: {'user_id': 91, 'amount': 2094.81, 'timestamp': 1778510238.9530847}\n", "Sent to stream_demo\n", "Sent: {'user_id': 38, 'amount': 346.89, 'timestamp': 1778510239.9825735}\n", "Sent to stream_demo\n", "Sent: {'user_id': 60, 'amount': 408.06, 'timestamp': 1778510241.012862}\n", "Sent to stream_demo\n", "Sent: {'user_id': 72, 'amount': 4122.45, 'timestamp': 1778510242.0427666}\n", "Sent to stream_demo\n", "Sent: {'user_id': 2, 'amount': 18.11, 'timestamp': 1778510243.0722978}\n", "Sent to stream_demo\n", "Sent: {'user_id': 98, 'amount': 453.91, 'timestamp': 1778510244.101498}\n", "Sent to stream_demo\n", "Sent: {'user_id': 25, 'amount': 71.7, 'timestamp': 1778510245.131056}\n", "Sent to stream_demo\n", "Sent: {'user_id': 52, 'amount': 450.79, 'timestamp': 1778510246.1605053}\n", "Sent to stream_demo\n", "Sent: {'user_id': 98, 'amount': 39.41, 'timestamp': 1778510247.1896546}\n", "Sent to stream_demo\n", "Sent: {'user_id': 53, 'amount': 497.69, 'timestamp': 1778510248.2187264}\n", "Sent to stream_demo\n", "Sent: {'user_id': 2, 'amount': 44.52, 'timestamp': 1778510249.2482004}\n", "Sent to stream_demo\n", "Sent: {'user_id': 77, 'amount': 201.44, 'timestamp': 1778510250.3339627}\n", "Sent to stream_demo\n", "Sent: {'user_id': 48, 'amount': 226.7, 'timestamp': 1778510251.3637714}\n", "Sent to stream_demo\n", "Sent: {'user_id': 66, 'amount': 324.39, 'timestamp': 1778510252.393524}\n", "Sent to stream_demo\n", "Sent: {'user_id': 27, 'amount': 345.26, 'timestamp': 1778510253.4229681}\n", "Sent to stream_demo\n", "Sent: {'user_id': 29, 'amount': 53.07, 'timestamp': 1778510254.4519005}\n", "Sent to stream_demo\n", "Sent: {'user_id': 59, 'amount': 321.62, 'timestamp': 1778510255.4819663}\n", "Sent to stream_demo\n", "Sent: {'user_id': 68, 'amount': 254.52, 'timestamp': 1778510256.5118933}\n", "Sent to stream_demo\n", "Sent: {'user_id': 89, 'amount': 239.98, 'timestamp': 1778510257.5423841}\n", "Sent to stream_demo\n", "Sent: {'user_id': 61, 'amount': 120.74, 'timestamp': 1778510258.5721092}\n", "Sent to stream_demo\n", "Sent: {'user_id': 98, 'amount': 469.79, 'timestamp': 1778510259.6021268}\n", "Sent to stream_demo\n", "Sent: {'user_id': 39, 'amount': 396.15, 'timestamp': 1778510260.6312737}\n", "Sent to stream_demo\n", "Sent: {'user_id': 27, 'amount': 199.66, 'timestamp': 1778510261.660505}\n", "Sent to stream_demo\n", "Sent: {'user_id': 81, 'amount': 437.81, 'timestamp': 1778510262.6898592}\n", "Sent to stream_demo\n", "Sent: {'user_id': 1, 'amount': 195.39, 'timestamp': 1778510263.720297}\n", "Sent to stream_demo\n", "Sent: {'user_id': 96, 'amount': 148.32, 'timestamp': 1778510264.7502437}\n", "Sent to stream_demo\n", "Sent: {'user_id': 18, 'amount': 444.06, 'timestamp': 1778510265.780996}\n", "Sent to stream_demo\n", "Sent: {'user_id': 18, 'amount': 315.4, 'timestamp': 1778510266.8104668}\n", "Sent to stream_demo\n", "Sent: {'user_id': 28, 'amount': 3161.73, 'timestamp': 1778510267.8401756}\n", "Sent to stream_demo\n", "Sent: {'user_id': 86, 'amount': 233.69, 'timestamp': 1778510268.8701653}\n", "Sent to stream_demo\n", "Sent: {'user_id': 74, 'amount': 451.95, 'timestamp': 1778510269.8993967}\n", "Sent to stream_demo\n", "Sent: {'user_id': 58, 'amount': 432.77, 'timestamp': 1778510270.9297764}\n", "Sent to stream_demo\n", "Sent: {'user_id': 17, 'amount': 48.52, 'timestamp': 1778510271.9589193}\n", "Sent to stream_demo\n", "Sent: {'user_id': 45, 'amount': 282.75, 'timestamp': 1778510272.9891417}\n", "Sent to stream_demo\n", "Sent: {'user_id': 79, 'amount': 470.4, 'timestamp': 1778510274.0185394}\n", "Sent to stream_demo\n", "Sent: {'user_id': 42, 'amount': 39.71, 'timestamp': 1778510275.048292}\n", "Sent to stream_demo\n", "Sent: {'user_id': 69, 'amount': 273.78, 'timestamp': 1778510276.079226}\n", "Sent to stream_demo\n", "Sent: {'user_id': 90, 'amount': 481.37, 'timestamp': 1778510277.109434}\n", "Sent to stream_demo\n", "Sent: {'user_id': 74, 'amount': 251.74, 'timestamp': 1778510278.1384835}\n", "Sent to stream_demo\n", "Sent: {'user_id': 64, 'amount': 144.92, 'timestamp': 1778510279.1682048}\n", "Sent to stream_demo\n", "Sent: {'user_id': 14, 'amount': 13.13, 'timestamp': 1778510280.1974783}\n", "Sent to stream_demo\n", "Sent: {'user_id': 93, 'amount': 478.17, 'timestamp': 1778510281.2273977}\n", "Sent to stream_demo\n", "Sent: {'user_id': 47, 'amount': 31.8, 'timestamp': 1778510282.2564836}\n", "Sent to stream_demo\n", "Sent: {'user_id': 36, 'amount': 284.83, 'timestamp': 1778510283.2858548}\n", "Sent to stream_demo\n", "Sent: {'user_id': 66, 'amount': 478.57, 'timestamp': 1778510284.3162947}\n", "Sent to stream_demo\n", "Sent: {'user_id': 96, 'amount': 307.2, 'timestamp': 1778510285.34549}\n", "Sent to stream_demo\n", "Sent: {'user_id': 27, 'amount': 288.29, 'timestamp': 1778510286.37572}\n", "Sent to stream_demo\n", "Sent: {'user_id': 13, 'amount': 227.39, 'timestamp': 1778510287.4052022}\n", "Sent to stream_demo\n", "Sent: {'user_id': 80, 'amount': 425.73, 'timestamp': 1778510288.4354572}\n", "Sent to stream_demo\n", "Sent: {'user_id': 1, 'amount': 340.95, 'timestamp': 1778510289.4650233}\n", "Sent to stream_demo\n", "Sent: {'user_id': 52, 'amount': 139.97, 'timestamp': 1778510290.4954917}\n", "Sent to stream_demo\n", "Sent: {'user_id': 9, 'amount': 2302.06, 'timestamp': 1778510291.5249531}\n", "Sent to stream_demo\n", "Sent: {'user_id': 33, 'amount': 263.86, 'timestamp': 1778510292.554604}\n", "Sent to stream_demo\n", "Sent: {'user_id': 70, 'amount': 283.98, 'timestamp': 1778510293.584835}\n", "Sent to stream_demo\n", "Sent: {'user_id': 25, 'amount': 307.36, 'timestamp': 1778510294.6138475}\n", "Sent to stream_demo\n", "Sent: {'user_id': 7, 'amount': 96.41, 'timestamp': 1778510295.6440313}\n", "Sent to stream_demo\n", "Sent: {'user_id': 23, 'amount': 313.75, 'timestamp': 1778510296.6738846}\n", "Sent to stream_demo\n", "Sent: {'user_id': 58, 'amount': 118.23, 'timestamp': 1778510297.7040324}\n", "Sent to stream_demo\n", "Sent: {'user_id': 10, 'amount': 449.18, 'timestamp': 1778510298.7332296}\n", "Sent to stream_demo\n", "Sent: {'user_id': 15, 'amount': 63.65, 'timestamp': 1778510299.7623596}\n", "Sent to stream_demo\n", "Sent: {'user_id': 3, 'amount': 472.11, 'timestamp': 1778510300.7926452}\n", "Sent to stream_demo\n", "Sent: {'user_id': 94, 'amount': 23.27, 'timestamp': 1778510301.8217359}\n", "Sent to stream_demo\n", "Sent: {'user_id': 46, 'amount': 2411.06, 'timestamp': 1778510302.8521144}\n", "Sent to stream_demo\n", "Sent: {'user_id': 30, 'amount': 230.04, 'timestamp': 1778510303.881447}\n", "Sent to stream_demo\n", "Sent: {'user_id': 29, 'amount': 106.09, 'timestamp': 1778510304.9106913}\n", "Sent to stream_demo\n", "Sent: {'user_id': 65, 'amount': 435.41, 'timestamp': 1778510305.94076}\n", "Sent to stream_demo\n", "Sent: {'user_id': 76, 'amount': 312.22, 'timestamp': 1778510306.969746}\n", "Sent to stream_demo\n", "Sent: {'user_id': 89, 'amount': 59.18, 'timestamp': 1778510307.999555}\n", "Sent to stream_demo\n", "Sent: {'user_id': 95, 'amount': 15.93, 'timestamp': 1778510309.0293}\n", "Sent to stream_demo\n", "Sent: {'user_id': 75, 'amount': 128.36, 'timestamp': 1778510310.0589952}\n", "Sent to stream_demo\n", "Sent: {'user_id': 87, 'amount': 489.52, 'timestamp': 1778510311.0883825}\n", "Sent to stream_demo\n", "Sent: {'user_id': 85, 'amount': 130.3, 'timestamp': 1778510312.1177874}\n", "Sent to stream_demo\n", "Sent: {'user_id': 66, 'amount': 242.57, 'timestamp': 1778510313.146996}\n", "Sent to stream_demo\n", "Sent: {'user_id': 56, 'amount': 410.57, 'timestamp': 1778510314.1761074}\n", "Sent to stream_demo\n", "Sent: {'user_id': 83, 'amount': 378.06, 'timestamp': 1778510315.2066197}\n", "Sent to stream_demo\n", "Sent: {'user_id': 40, 'amount': 2957.96, 'timestamp': 1778510316.2379313}\n", "Sent to stream_demo\n", "Sent: {'user_id': 86, 'amount': 165.76, 'timestamp': 1778510317.268138}\n", "Sent to stream_demo\n", "Sent: {'user_id': 70, 'amount': 346.03, 'timestamp': 1778510318.2987056}\n", "Sent to stream_demo\n", "Sent: {'user_id': 18, 'amount': 280.72, 'timestamp': 1778510319.3280406}\n", "Sent to stream_demo\n", "Sent: {'user_id': 92, 'amount': 488.55, 'timestamp': 1778510320.3573766}\n", "Sent to stream_demo\n", "Sent: {'user_id': 8, 'amount': 53.86, 'timestamp': 1778510321.3865476}\n", "Sent to stream_demo\n", "Sent: {'user_id': 63, 'amount': 66.13, 'timestamp': 1778510322.4161258}\n", "Sent to stream_demo\n", "Sent: {'user_id': 11, 'amount': 372.45, 'timestamp': 1778510323.445803}\n", "Sent to stream_demo\n", "Sent: {'user_id': 71, 'amount': 431.23, 'timestamp': 1778510324.474993}\n", "Sent to stream_demo\n", "Sent: {'user_id': 99, 'amount': 140.09, 'timestamp': 1778510325.5043628}\n", "Sent to stream_demo\n", "Sent: {'user_id': 50, 'amount': 454.94, 'timestamp': 1778510326.5334754}\n", "Sent to stream_demo\n", "Sent: {'user_id': 49, 'amount': 135.95, 'timestamp': 1778510327.6475432}\n", "Sent to stream_demo\n", "Sent: {'user_id': 81, 'amount': 407.48, 'timestamp': 1778510328.6779423}\n", "Sent to stream_demo\n", "Sent: {'user_id': 68, 'amount': 181.12, 'timestamp': 1778510329.7082121}\n", "Sent to stream_demo\n", "Sent: {'user_id': 65, 'amount': 250.6, 'timestamp': 1778510330.7385845}\n", "Sent to stream_demo\n", "Sent: {'user_id': 26, 'amount': 145.03, 'timestamp': 1778510331.7680705}\n", "Sent to stream_demo\n", "Sent: {'user_id': 20, 'amount': 78.59, 'timestamp': 1778510332.7974997}\n", "Sent to stream_demo\n", "Sent: {'user_id': 4, 'amount': 295.96, 'timestamp': 1778510333.8282273}\n", "Sent to stream_demo\n", "Sent: {'user_id': 98, 'amount': 76.61, 'timestamp': 1778510334.858944}\n", "Sent to stream_demo\n", "Sent: {'user_id': 89, 'amount': 359.1, 'timestamp': 1778510335.8880327}\n", "Sent to stream_demo\n", "Sent: {'user_id': 36, 'amount': 297.57, 'timestamp': 1778510336.918211}\n", "Sent to stream_demo\n", "Sent: {'user_id': 33, 'amount': 250.94, 'timestamp': 1778510337.9488268}\n", "Sent to stream_demo\n", "Sent: {'user_id': 76, 'amount': 443.81, 'timestamp': 1778510338.9816134}\n", "Sent to stream_demo\n", "Sent: {'user_id': 59, 'amount': 244.38, 'timestamp': 1778510340.0120032}\n", "Sent to stream_demo\n", "Sent: {'user_id': 18, 'amount': 448.97, 'timestamp': 1778510341.0420651}\n", "Sent to stream_demo\n", "Sent: {'user_id': 61, 'amount': 389.96, 'timestamp': 1778510342.0716102}\n", "Sent to stream_demo\n", "Sent: {'user_id': 56, 'amount': 82.79, 'timestamp': 1778510343.10201}\n", "Sent to stream_demo\n", "Sent: {'user_id': 33, 'amount': 75.13, 'timestamp': 1778510344.1321383}\n", "Sent to stream_demo\n", "Sent: {'user_id': 27, 'amount': 274.16, 'timestamp': 1778510345.1623666}\n", "Sent to stream_demo\n", "Sent: {'user_id': 90, 'amount': 330.15, 'timestamp': 1778510346.1920133}\n", "Sent to stream_demo\n", "Sent: {'user_id': 20, 'amount': 320.08, 'timestamp': 1778510347.2215278}\n", "Sent to stream_demo\n", "Sent: {'user_id': 80, 'amount': 3047.36, 'timestamp': 1778510348.2517781}\n", "Sent to stream_demo\n", "Sent: {'user_id': 48, 'amount': 41.85, 'timestamp': 1778510349.2816093}\n", "Sent to stream_demo\n", "Sent: {'user_id': 45, 'amount': 354.05, 'timestamp': 1778510350.3114846}\n", "Sent to stream_demo\n", "Sent: {'user_id': 15, 'amount': 195.12, 'timestamp': 1778510351.3409297}\n", "Sent to stream_demo\n", "Sent: {'user_id': 70, 'amount': 453.67, 'timestamp': 1778510352.3711812}\n", "Sent to stream_demo\n", "Sent: {'user_id': 2, 'amount': 112.68, 'timestamp': 1778510353.4004362}\n", "Sent to stream_demo\n", "Sent: {'user_id': 54, 'amount': 491.01, 'timestamp': 1778510354.4295287}\n", "Sent to stream_demo\n", "Sent: {'user_id': 40, 'amount': 391.58, 'timestamp': 1778510355.46014}\n", "Sent to stream_demo\n", "Sent: {'user_id': 61, 'amount': 331.96, 'timestamp': 1778510356.4908447}\n", "Sent to stream_demo\n", "Sent: {'user_id': 31, 'amount': 18.59, 'timestamp': 1778510357.521028}\n", "Sent to stream_demo\n", "Sent: {'user_id': 11, 'amount': 172.14, 'timestamp': 1778510358.5502715}\n", "Sent to stream_demo\n", "Sent: {'user_id': 92, 'amount': 146.05, 'timestamp': 1778510359.5795429}\n", "Sent to stream_demo\n", "Sent: {'user_id': 95, 'amount': 179.04, 'timestamp': 1778510360.6086686}\n", "Sent to stream_demo\n", "Sent: {'user_id': 71, 'amount': 43.99, 'timestamp': 1778510361.6391828}\n", "Sent to stream_demo\n", "Sent: {'user_id': 100, 'amount': 358.94, 'timestamp': 1778510362.6694646}\n", "Sent to stream_demo\n", "Sent: {'user_id': 35, 'amount': 229.76, 'timestamp': 1778510363.6994188}\n", "Sent to stream_demo\n", "Sent: {'user_id': 3, 'amount': 353.58, 'timestamp': 1778510364.7297177}\n", "Sent to stream_demo\n", "Sent: {'user_id': 30, 'amount': 274.45, 'timestamp': 1778510365.758914}\n", "Sent to stream_demo\n", "Sent: {'user_id': 53, 'amount': 366.38, 'timestamp': 1778510366.7879763}\n", "Sent to stream_demo\n", "Sent: {'user_id': 63, 'amount': 328.12, 'timestamp': 1778510367.817197}\n", "Sent to stream_demo\n", "Sent: {'user_id': 46, 'amount': 335.98, 'timestamp': 1778510368.8472233}\n", "Sent to stream_demo\n", "Sent: {'user_id': 92, 'amount': 267.74, 'timestamp': 1778510369.8767126}\n", "Sent to stream_demo\n", "Sent: {'user_id': 80, 'amount': 199.65, 'timestamp': 1778510370.9059272}\n", "Sent to stream_demo\n", "Sent: {'user_id': 52, 'amount': 280.08, 'timestamp': 1778510371.935839}\n", "Sent to stream_demo\n", "Sent: {'user_id': 15, 'amount': 285.5, 'timestamp': 1778510372.965703}\n", "Sent to stream_demo\n", "Sent: {'user_id': 87, 'amount': 333.38, 'timestamp': 1778510373.9962873}\n", "Sent to stream_demo\n", "Sent: {'user_id': 54, 'amount': 411.68, 'timestamp': 1778510375.0254471}\n", "Sent to stream_demo\n", "Sent: {'user_id': 24, 'amount': 203.71, 'timestamp': 1778510376.055752}\n", "Sent to stream_demo\n", "Sent: {'user_id': 5, 'amount': 45.89, 'timestamp': 1778510377.0858235}\n", "Sent to stream_demo\n", "Sent: {'user_id': 54, 'amount': 199.76, 'timestamp': 1778510378.116357}\n", "Sent to stream_demo\n", "Sent: {'user_id': 1, 'amount': 328.5, 'timestamp': 1778510379.1465538}\n", "Sent to stream_demo\n", "Sent: {'user_id': 49, 'amount': 42.31, 'timestamp': 1778510380.176636}\n", "Sent to stream_demo\n", "Sent: {'user_id': 25, 'amount': 20.93, 'timestamp': 1778510381.2066557}\n", "Sent to stream_demo\n", "Sent: {'user_id': 59, 'amount': 224.92, 'timestamp': 1778510382.2362087}\n", "Sent to stream_demo\n", "Sent: {'user_id': 7, 'amount': 478.94, 'timestamp': 1778510383.26673}\n", "Sent to stream_demo\n", "Sent: {'user_id': 36, 'amount': 223.83, 'timestamp': 1778510384.2970424}\n", "Sent to stream_demo\n", "Sent: {'user_id': 1, 'amount': 141.82, 'timestamp': 1778510385.327917}\n", "Sent to stream_demo\n", "Sent: {'user_id': 35, 'amount': 416.77, 'timestamp': 1778510386.3582022}\n", "Sent to stream_demo\n", "Sent: {'user_id': 82, 'amount': 84.07, 'timestamp': 1778510387.388664}\n", "Sent to stream_demo\n", "Sent: {'user_id': 44, 'amount': 224.45, 'timestamp': 1778510388.4185843}\n", "Sent to stream_demo\n", "Sent: {'user_id': 55, 'amount': 238.15, 'timestamp': 1778510389.448922}\n", "Sent to stream_demo\n", "Sent: {'user_id': 80, 'amount': 403.86, 'timestamp': 1778510390.4789417}\n", "Sent to stream_demo\n", "Sent: {'user_id': 29, 'amount': 430.72, 'timestamp': 1778510391.5088677}\n", "Sent to stream_demo\n", "Sent: {'user_id': 46, 'amount': 323.02, 'timestamp': 1778510392.5390422}\n", "Sent to stream_demo\n", "Sent: {'user_id': 2, 'amount': 250.27, 'timestamp': 1778510393.568466}\n", "Sent to stream_demo\n", "Sent: {'user_id': 15, 'amount': 4291.68, 'timestamp': 1778510394.598048}\n", "Sent to stream_demo\n", "Sent: {'user_id': 43, 'amount': 241.3, 'timestamp': 1778510395.6286886}\n", "Sent to stream_demo\n", "Sent: {'user_id': 26, 'amount': 220.98, 'timestamp': 1778510396.6592119}\n", "Sent to stream_demo\n", "Sent: {'user_id': 28, 'amount': 68.28, 'timestamp': 1778510397.6885748}\n", "Sent to stream_demo\n", "Sent: {'user_id': 52, 'amount': 44.01, 'timestamp': 1778510398.718982}\n", "Sent to stream_demo\n", "Sent: {'user_id': 57, 'amount': 253.67, 'timestamp': 1778510399.7482533}\n", "Sent to stream_demo\n", "Sent: {'user_id': 62, 'amount': 344.61, 'timestamp': 1778510400.7780905}\n", "Sent to stream_demo\n", "Sent: {'user_id': 55, 'amount': 356.76, 'timestamp': 1778510401.8089266}\n", "Sent to stream_demo\n", "Sent: {'user_id': 8, 'amount': 383.87, 'timestamp': 1778510402.8394778}\n", "Sent to stream_demo\n", "Sent: {'user_id': 89, 'amount': 68.63, 'timestamp': 1778510403.869448}\n", "Sent to stream_demo\n", "Sent: {'user_id': 55, 'amount': 164.23, 'timestamp': 1778510404.8995123}\n", "Sent to stream_demo\n", "Sent: {'user_id': 52, 'amount': 133.74, 'timestamp': 1778510405.9300075}\n", "Sent to stream_demo\n", "Sent: {'user_id': 74, 'amount': 58.81, 'timestamp': 1778510406.9594471}\n", "Sent to stream_demo\n", "Sent: {'user_id': 28, 'amount': 55.74, 'timestamp': 1778510407.9899013}\n", "Sent to stream_demo\n", "Sent: {'user_id': 62, 'amount': 221.66, 'timestamp': 1778510409.0247488}\n", "Sent to stream_demo\n", "Sent: {'user_id': 80, 'amount': 110.32, 'timestamp': 1778510410.0552115}\n", "Sent to stream_demo\n", "Sent: {'user_id': 20, 'amount': 257.86, 'timestamp': 1778510411.0850945}\n", "Sent to stream_demo\n", "Sent: {'user_id': 87, 'amount': 4612.63, 'timestamp': 1778510412.1147985}\n", "Sent to stream_demo\n", "Sent: {'user_id': 47, 'amount': 267.81, 'timestamp': 1778510413.144828}\n", "Sent to stream_demo\n", "Sent: {'user_id': 58, 'amount': 226.24, 'timestamp': 1778510414.1741514}\n", "Sent to stream_demo\n", "Sent: {'user_id': 94, 'amount': 3163.13, 'timestamp': 1778510415.2036805}\n", "Sent to stream_demo\n", "Sent: {'user_id': 98, 'amount': 317.09, 'timestamp': 1778510416.2335074}\n", "Sent to stream_demo\n", "Sent: {'user_id': 6, 'amount': 259.99, 'timestamp': 1778510417.2637339}\n", "Sent to stream_demo\n", "Sent: {'user_id': 22, 'amount': 147.56, 'timestamp': 1778510418.294832}\n", "Sent to stream_demo\n", "Sent: {'user_id': 40, 'amount': 2644.68, 'timestamp': 1778510419.325516}\n", "Sent to stream_demo\n", "Sent: {'user_id': 56, 'amount': 299.51, 'timestamp': 1778510420.356086}\n", "Sent to stream_demo\n", "Sent: {'user_id': 67, 'amount': 402.81, 'timestamp': 1778510421.3865733}\n", "Sent to stream_demo\n", "Sent: {'user_id': 33, 'amount': 95.79, 'timestamp': 1778510422.4160404}\n", "Sent to stream_demo\n", "Sent: {'user_id': 52, 'amount': 396.56, 'timestamp': 1778510423.445854}\n", "Sent to stream_demo\n", "Sent: {'user_id': 63, 'amount': 28.98, 'timestamp': 1778510424.4753213}\n", "Sent to stream_demo\n", "Sent: {'user_id': 66, 'amount': 216.93, 'timestamp': 1778510425.5050802}\n", "Sent to stream_demo\n", "Sent: {'user_id': 79, 'amount': 128.4, 'timestamp': 1778510426.5342312}\n", "Sent to stream_demo\n", "Sent: {'user_id': 56, 'amount': 398.17, 'timestamp': 1778510427.5640814}\n", "Sent to stream_demo\n", "Sent: {'user_id': 62, 'amount': 158.48, 'timestamp': 1778510428.5945475}\n", "Sent to stream_demo\n", "Sent: {'user_id': 68, 'amount': 3648.3, 'timestamp': 1778510429.6248572}\n", "Sent to stream_demo\n", "Sent: {'user_id': 12, 'amount': 13.93, 'timestamp': 1778510430.6549966}\n", "Sent to stream_demo\n", "Sent: {'user_id': 67, 'amount': 38.51, 'timestamp': 1778510431.6843548}\n", "Sent to stream_demo\n", "Sent: {'user_id': 88, 'amount': 132.44, 'timestamp': 1778510432.713784}\n", "Sent to stream_demo\n", "Sent: {'user_id': 20, 'amount': 193.33, 'timestamp': 1778510433.7440438}\n", "Sent to stream_demo\n", "Sent: {'user_id': 38, 'amount': 375.05, 'timestamp': 1778510434.775383}\n", "Sent to stream_demo\n", "Sent: {'user_id': 95, 'amount': 16.54, 'timestamp': 1778510435.8047462}\n", "Sent to stream_demo\n", "Sent: {'user_id': 7, 'amount': 80.86, 'timestamp': 1778510436.8343804}\n", "Sent to stream_demo\n", "Sent: {'user_id': 25, 'amount': 195.83, 'timestamp': 1778510437.8642547}\n", "Sent to stream_demo\n", "Sent: {'user_id': 67, 'amount': 148.39, 'timestamp': 1778510438.8962057}\n", "Sent to stream_demo\n", "Sent: {'user_id': 87, 'amount': 347.38, 'timestamp': 1778510439.926081}\n", "Sent to stream_demo\n", "Sent: {'user_id': 11, 'amount': 124.17, 'timestamp': 1778510440.95569}\n", "Sent to stream_demo\n", "Sent: {'user_id': 45, 'amount': 120.08, 'timestamp': 1778510441.9851377}\n", "Sent to stream_demo\n", "Sent: {'user_id': 75, 'amount': 328.59, 'timestamp': 1778510443.0144925}\n", "Sent to stream_demo\n", "Sent: {'user_id': 25, 'amount': 4190.37, 'timestamp': 1778510444.0445101}\n", "Sent to stream_demo\n", "Sent: {'user_id': 43, 'amount': 24.43, 'timestamp': 1778510445.0754914}\n", "Sent to stream_demo\n", "Sent: {'user_id': 24, 'amount': 462.62, 'timestamp': 1778510446.1057925}\n", "Sent to stream_demo\n", "Sent: {'user_id': 91, 'amount': 173.26, 'timestamp': 1778510447.136297}\n", "Sent to stream_demo\n", "Sent: {'user_id': 32, 'amount': 388.48, 'timestamp': 1778510448.1655605}\n", "Sent to stream_demo\n", "Sent: {'user_id': 75, 'amount': 4111.7, 'timestamp': 1778510449.1957247}\n", "Sent to stream_demo\n", "Sent: {'user_id': 11, 'amount': 389.8, 'timestamp': 1778510450.2255292}\n", "Sent to stream_demo\n", "Sent: {'user_id': 32, 'amount': 477.63, 'timestamp': 1778510451.2549732}\n", "Sent to stream_demo\n", "Sent: {'user_id': 7, 'amount': 161.43, 'timestamp': 1778510452.2844434}\n", "Sent to stream_demo\n", "Sent: {'user_id': 96, 'amount': 269.43, 'timestamp': 1778510453.314498}\n", "Sent to stream_demo\n", "Sent: {'user_id': 71, 'amount': 481.04, 'timestamp': 1778510454.34499}\n", "Sent to stream_demo\n", "Sent: {'user_id': 11, 'amount': 204.89, 'timestamp': 1778510455.3742096}\n", "Sent to stream_demo\n", "Sent: {'user_id': 45, 'amount': 396.72, 'timestamp': 1778510456.4035609}\n", "Sent to stream_demo\n", "Sent: {'user_id': 75, 'amount': 102.07, 'timestamp': 1778510457.432944}\n", "Sent to stream_demo\n", "Sent: {'user_id': 34, 'amount': 444.0, 'timestamp': 1778510458.4627578}\n", "Sent to stream_demo\n", "Sent: {'user_id': 45, 'amount': 210.5, 'timestamp': 1778510459.4932492}\n", "Sent to stream_demo\n", "Sent: {'user_id': 24, 'amount': 139.39, 'timestamp': 1778510460.5226479}\n", "Sent to stream_demo\n", "Sent: {'user_id': 85, 'amount': 398.98, 'timestamp': 1778510461.552998}\n", "Sent to stream_demo\n", "Sent: {'user_id': 55, 'amount': 303.62, 'timestamp': 1778510462.5824642}\n", "Sent to stream_demo\n", "Sent: {'user_id': 44, 'amount': 165.7, 'timestamp': 1778510463.6123202}\n", "Sent to stream_demo\n", "Sent: {'user_id': 8, 'amount': 214.27, 'timestamp': 1778510464.6421566}\n", "Sent to stream_demo\n", "Sent: {'user_id': 17, 'amount': 91.35, 'timestamp': 1778510465.6728668}\n", "Sent to stream_demo\n", "Sent: {'user_id': 87, 'amount': 468.85, 'timestamp': 1778510466.7029767}\n", "Sent to stream_demo\n", "Sent: {'user_id': 91, 'amount': 289.75, 'timestamp': 1778510467.7329645}\n", "Sent to stream_demo\n", "Sent: {'user_id': 99, 'amount': 272.78, 'timestamp': 1778510468.7625098}\n", "Sent to stream_demo\n", "Sent: {'user_id': 79, 'amount': 190.69, 'timestamp': 1778510469.792087}\n", "Sent to stream_demo\n", "Sent: {'user_id': 31, 'amount': 176.56, 'timestamp': 1778510470.8224812}\n", "Sent to stream_demo\n", "Sent: {'user_id': 47, 'amount': 332.02, 'timestamp': 1778510471.8521473}\n", "Sent to stream_demo\n", "Sent: {'user_id': 95, 'amount': 255.75, 'timestamp': 1778510472.8820539}\n", "Sent to stream_demo\n", "Sent: {'user_id': 10, 'amount': 479.94, 'timestamp': 1778510473.9120352}\n", "Sent to stream_demo\n", "Sent: {'user_id': 66, 'amount': 188.55, 'timestamp': 1778510474.9414551}\n", "Sent to stream_demo\n", "Sent: {'user_id': 27, 'amount': 322.57, 'timestamp': 1778510475.9710155}\n", "Sent to stream_demo\n", "Sent: {'user_id': 50, 'amount': 305.93, 'timestamp': 1778510477.0008137}\n", "Sent to stream_demo\n", "Sent: {'user_id': 50, 'amount': 4099.12, 'timestamp': 1778510478.0301335}\n", "Sent to stream_demo\n", "Sent: {'user_id': 97, 'amount': 485.02, 'timestamp': 1778510479.0595143}\n", "Sent to stream_demo\n", "Sent: {'user_id': 40, 'amount': 191.78, 'timestamp': 1778510480.0892992}\n", "Sent to stream_demo\n", "Sent: {'user_id': 45, 'amount': 54.1, 'timestamp': 1778510481.1198835}\n", "Sent to stream_demo\n", "Sent: {'user_id': 24, 'amount': 368.82, 'timestamp': 1778510482.1493094}\n", "Sent to stream_demo\n", "Sent: {'user_id': 35, 'amount': 349.38, 'timestamp': 1778510483.178901}\n", "Sent to stream_demo\n", "Sent: {'user_id': 84, 'amount': 170.68, 'timestamp': 1778510484.2095373}\n", "Sent to stream_demo\n", "Sent: {'user_id': 40, 'amount': 117.62, 'timestamp': 1778510485.239053}\n", "Sent to stream_demo\n", "Sent: {'user_id': 18, 'amount': 297.69, 'timestamp': 1778510486.2694607}\n", "Sent to stream_demo\n", "Sent: {'user_id': 1, 'amount': 123.08, 'timestamp': 1778510487.2990553}\n", "Sent to stream_demo\n", "Sent: {'user_id': 1, 'amount': 412.84, 'timestamp': 1778510488.3287401}\n", "Sent to stream_demo\n", "Sent: {'user_id': 99, 'amount': 438.95, 'timestamp': 1778510489.3586233}\n", "Sent to stream_demo\n", "Sent: {'user_id': 78, 'amount': 70.38, 'timestamp': 1778510490.387961}\n", "Sent to stream_demo\n", "Sent: {'user_id': 72, 'amount': 327.07, 'timestamp': 1778510491.4170454}\n", "Sent to stream_demo\n", "Sent: {'user_id': 39, 'amount': 131.73, 'timestamp': 1778510492.4461105}\n", "Sent to stream_demo\n", "Sent: {'user_id': 42, 'amount': 4334.36, 'timestamp': 1778510493.4759965}\n", "Sent to stream_demo\n", "Sent: {'user_id': 64, 'amount': 294.32, 'timestamp': 1778510494.5067923}\n", "Sent to stream_demo\n", "Sent: {'user_id': 74, 'amount': 213.47, 'timestamp': 1778510495.5363402}\n", "Sent to stream_demo\n", "Sent: {'user_id': 92, 'amount': 378.84, 'timestamp': 1778510496.5715802}\n", "Sent to stream_demo\n", "Sent: {'user_id': 28, 'amount': 124.56, 'timestamp': 1778510497.6012444}\n", "Sent to stream_demo\n", "Sent: {'user_id': 95, 'amount': 260.0, 'timestamp': 1778510498.6312954}\n", "Sent to stream_demo\n", "Sent: {'user_id': 73, 'amount': 342.64, 'timestamp': 1778510499.661054}\n", "Sent to stream_demo\n", "Sent: {'user_id': 16, 'amount': 147.11, 'timestamp': 1778510500.6909337}\n", "Sent to stream_demo\n", "Sent: {'user_id': 23, 'amount': 98.91, 'timestamp': 1778510501.7210202}\n", "Sent to stream_demo\n", "Sent: {'user_id': 22, 'amount': 486.78, 'timestamp': 1778510502.7514715}\n", "Sent to stream_demo\n", "Sent: {'user_id': 85, 'amount': 472.29, 'timestamp': 1778510503.7819154}\n", "Sent to stream_demo\n", "Sent: {'user_id': 32, 'amount': 73.19, 'timestamp': 1778510504.811493}\n", "Sent to stream_demo\n", "Sent: {'user_id': 5, 'amount': 373.35, 'timestamp': 1778510505.841012}\n", "Sent to stream_demo\n", "Sent: {'user_id': 23, 'amount': 466.04, 'timestamp': 1778510506.8709595}\n", "Sent to stream_demo\n", "Sent: {'user_id': 51, 'amount': 475.22, 'timestamp': 1778510507.9007463}\n", "Sent to stream_demo\n", "Sent: {'user_id': 9, 'amount': 420.19, 'timestamp': 1778510508.9300187}\n", "Sent to stream_demo\n", "Sent: {'user_id': 37, 'amount': 155.75, 'timestamp': 1778510509.9592261}\n", "Sent to stream_demo\n", "Sent: {'user_id': 19, 'amount': 188.92, 'timestamp': 1778510510.9892082}\n", "Sent to stream_demo\n", "Sent: {'user_id': 71, 'amount': 218.79, 'timestamp': 1778510512.0188704}\n", "Sent to stream_demo\n", "Sent: {'user_id': 75, 'amount': 336.77, 'timestamp': 1778510513.0480578}\n", "Sent to stream_demo\n", "Sent: {'user_id': 82, 'amount': 251.2, 'timestamp': 1778510514.077877}\n", "Sent to stream_demo\n", "Sent: {'user_id': 2, 'amount': 396.15, 'timestamp': 1778510515.1091313}\n", "Sent to stream_demo\n", "Sent: {'user_id': 57, 'amount': 315.5, 'timestamp': 1778510516.1391258}\n", "Sent to stream_demo\n", "Sent: {'user_id': 98, 'amount': 252.17, 'timestamp': 1778510517.1688268}\n", "Sent to stream_demo\n", "Sent: {'user_id': 27, 'amount': 259.36, 'timestamp': 1778510518.1981688}\n", "Sent to stream_demo\n", "Sent: {'user_id': 50, 'amount': 187.3, 'timestamp': 1778510519.2276785}\n", "Sent to stream_demo\n", "Sent: {'user_id': 79, 'amount': 367.61, 'timestamp': 1778510520.2570431}\n", "Sent to stream_demo\n", "Sent: {'user_id': 79, 'amount': 84.44, 'timestamp': 1778510521.362519}\n", "Sent to stream_demo\n", "Sent: {'user_id': 62, 'amount': 443.06, 'timestamp': 1778510522.3920784}\n", "Sent to stream_demo\n", "Sent: {'user_id': 25, 'amount': 366.82, 'timestamp': 1778510523.422196}\n", "Sent to stream_demo\n", "Sent: {'user_id': 80, 'amount': 485.19, 'timestamp': 1778510524.451607}\n", "Sent to stream_demo\n", "Sent: {'user_id': 63, 'amount': 185.21, 'timestamp': 1778510525.4813645}\n", "Sent to stream_demo\n", "Sent: {'user_id': 100, 'amount': 11.99, 'timestamp': 1778510526.5112405}\n", "Sent to stream_demo\n", "Sent: {'user_id': 73, 'amount': 198.44, 'timestamp': 1778510527.5414555}\n", "Sent to stream_demo\n", "Sent: {'user_id': 9, 'amount': 352.18, 'timestamp': 1778510528.5708494}\n", "Sent to stream_demo\n", "Sent: {'user_id': 61, 'amount': 28.45, 'timestamp': 1778510529.6014786}\n", "Sent to stream_demo\n", "Sent: {'user_id': 28, 'amount': 4196.47, 'timestamp': 1778510530.6312032}\n", "Sent to stream_demo\n", "Sent: {'user_id': 53, 'amount': 163.37, 'timestamp': 1778510531.661485}\n", "Sent to stream_demo\n", "Sent: {'user_id': 11, 'amount': 282.37, 'timestamp': 1778510532.6909115}\n", "Sent to stream_demo\n", "Sent: {'user_id': 18, 'amount': 470.85, 'timestamp': 1778510533.7205446}\n", "Sent to stream_demo\n", "Sent: {'user_id': 20, 'amount': 213.65, 'timestamp': 1778510534.749918}\n", "Sent to stream_demo\n", "Sent: {'user_id': 55, 'amount': 196.65, 'timestamp': 1778510535.7800546}\n", "Sent to stream_demo\n", "Sent: {'user_id': 49, 'amount': 410.1, 'timestamp': 1778510536.810472}\n", "Sent to stream_demo\n", "Sent: {'user_id': 37, 'amount': 157.99, 'timestamp': 1778510537.840513}\n", "Sent to stream_demo\n", "Sent: {'user_id': 59, 'amount': 104.22, 'timestamp': 1778510538.870538}\n", "Sent to stream_demo\n", "Sent: {'user_id': 26, 'amount': 245.71, 'timestamp': 1778510539.9006226}\n", "Sent to stream_demo\n", "Sent: {'user_id': 92, 'amount': 475.35, 'timestamp': 1778510540.9302115}\n", "Sent to stream_demo\n", "Sent: {'user_id': 19, 'amount': 34.94, 'timestamp': 1778510541.960051}\n", "Sent to stream_demo\n", "Sent: {'user_id': 79, 'amount': 2017.4, 'timestamp': 1778510542.9895666}\n", "Sent to stream_demo\n", "Sent: {'user_id': 57, 'amount': 432.0, 'timestamp': 1778510544.019122}\n", "Sent to stream_demo\n", "Sent: {'user_id': 84, 'amount': 481.49, 'timestamp': 1778510545.0491996}\n", "Sent to stream_demo\n", "Sent: {'user_id': 60, 'amount': 85.26, 'timestamp': 1778510546.0786042}\n", "Sent to stream_demo\n", "Sent: {'user_id': 14, 'amount': 304.38, 'timestamp': 1778510547.1083302}\n", "Sent to stream_demo\n", "Sent: {'user_id': 9, 'amount': 86.3, 'timestamp': 1778510548.1383283}\n", "Sent to stream_demo\n", "Sent: {'user_id': 70, 'amount': 147.74, 'timestamp': 1778510549.1679802}\n", "Sent to stream_demo\n", "Sent: {'user_id': 60, 'amount': 333.41, 'timestamp': 1778510550.1975765}\n", "Sent to stream_demo\n", "Sent: {'user_id': 48, 'amount': 433.15, 'timestamp': 1778510551.2281058}\n", "Sent to stream_demo\n", "Sent: {'user_id': 41, 'amount': 85.29, 'timestamp': 1778510552.2577817}\n", "Sent to stream_demo\n", "Sent: {'user_id': 18, 'amount': 189.05, 'timestamp': 1778510553.2879546}\n", "Sent to stream_demo\n", "Sent: {'user_id': 7, 'amount': 162.84, 'timestamp': 1778510554.3175669}\n", "Sent to stream_demo\n", "Sent: {'user_id': 88, 'amount': 493.84, 'timestamp': 1778510555.347637}\n", "Sent to stream_demo\n", "Sent: {'user_id': 83, 'amount': 464.04, 'timestamp': 1778510556.3778625}\n", "Sent to stream_demo\n", "Sent: {'user_id': 73, 'amount': 411.22, 'timestamp': 1778510557.4082847}\n", "Sent to stream_demo\n", "Sent: {'user_id': 70, 'amount': 115.06, 'timestamp': 1778510558.4381568}\n", "Sent to stream_demo\n", "Sent: {'user_id': 36, 'amount': 80.69, 'timestamp': 1778510559.467872}\n", "Sent to stream_demo\n", "Sent: {'user_id': 32, 'amount': 374.36, 'timestamp': 1778510560.4979246}\n", "Sent to stream_demo\n", "Sent: {'user_id': 37, 'amount': 189.34, 'timestamp': 1778510561.527558}\n", "Sent to stream_demo\n", "Sent: {'user_id': 54, 'amount': 103.69, 'timestamp': 1778510562.5581536}\n", "Sent to stream_demo\n", "Sent: {'user_id': 15, 'amount': 394.71, 'timestamp': 1778510563.5885446}\n", "Sent to stream_demo\n", "Sent: {'user_id': 87, 'amount': 461.33, 'timestamp': 1778510564.6191485}\n", "Sent to stream_demo\n", "Sent: {'user_id': 4, 'amount': 402.69, 'timestamp': 1778510565.6490686}\n", "Sent to stream_demo\n", "Sent: {'user_id': 74, 'amount': 300.94, 'timestamp': 1778510566.679175}\n", "Sent to stream_demo\n", "Sent: {'user_id': 52, 'amount': 105.67, 'timestamp': 1778510567.735611}\n", "Sent to stream_demo\n", "Sent: {'user_id': 78, 'amount': 4273.06, 'timestamp': 1778510568.7652028}\n", "Sent to stream_demo\n", "Sent: {'user_id': 23, 'amount': 270.94, 'timestamp': 1778510569.7944424}\n", "Sent to stream_demo\n", "Sent: {'user_id': 26, 'amount': 417.42, 'timestamp': 1778510570.8244543}\n", "Sent to stream_demo\n", "Sent: {'user_id': 51, 'amount': 316.64, 'timestamp': 1778510571.854038}\n", "Sent to stream_demo\n", "Sent: {'user_id': 88, 'amount': 159.69, 'timestamp': 1778510572.8832905}\n", "Sent to stream_demo\n", "Sent: {'user_id': 70, 'amount': 243.62, 'timestamp': 1778510573.9132168}\n", "Sent to stream_demo\n", "Sent: {'user_id': 80, 'amount': 354.25, 'timestamp': 1778510574.9424686}\n", "Sent to stream_demo\n", "Sent: {'user_id': 89, 'amount': 240.9, 'timestamp': 1778510575.9721017}\n", "Sent to stream_demo\n", "Sent: {'user_id': 45, 'amount': 394.76, 'timestamp': 1778510577.0015826}\n", "Sent to stream_demo\n", "Sent: {'user_id': 97, 'amount': 130.98, 'timestamp': 1778510578.031023}\n", "Sent to stream_demo\n", "Sent: {'user_id': 72, 'amount': 348.9, 'timestamp': 1778510579.0609682}\n", "Sent to stream_demo\n", "Sent: {'user_id': 74, 'amount': 358.03, 'timestamp': 1778510580.090143}\n", "Sent to stream_demo\n", "Sent: {'user_id': 7, 'amount': 318.58, 'timestamp': 1778510581.1205785}\n", "Sent to stream_demo\n", "Sent: {'user_id': 72, 'amount': 68.79, 'timestamp': 1778510582.151075}\n", "Sent to stream_demo\n", "Sent: {'user_id': 77, 'amount': 222.7, 'timestamp': 1778510583.180435}\n", "Sent to stream_demo\n", "Sent: {'user_id': 22, 'amount': 444.6, 'timestamp': 1778510584.2101583}\n", "Sent to stream_demo\n", "Sent: {'user_id': 55, 'amount': 425.71, 'timestamp': 1778510585.240488}\n", "Sent to stream_demo\n", "Sent: {'user_id': 88, 'amount': 441.7, 'timestamp': 1778510586.2710464}\n", "Sent to stream_demo\n", "Sent: {'user_id': 32, 'amount': 439.39, 'timestamp': 1778510587.3012028}\n", "Sent to stream_demo\n", "Sent: {'user_id': 99, 'amount': 293.0, 'timestamp': 1778510588.3316622}\n", "Sent to stream_demo\n", "Sent: {'user_id': 8, 'amount': 410.87, 'timestamp': 1778510589.361573}\n", "Sent to stream_demo\n", "Sent: {'user_id': 64, 'amount': 458.52, 'timestamp': 1778510590.3915641}\n", "Sent to stream_demo\n", "Sent: {'user_id': 33, 'amount': 470.45, 'timestamp': 1778510591.4209328}\n", "Sent to stream_demo\n", "Sent: {'user_id': 56, 'amount': 448.78, 'timestamp': 1778510592.4508266}\n", "Sent to stream_demo\n", "Sent: {'user_id': 68, 'amount': 362.57, 'timestamp': 1778510593.4809303}\n", "Sent to stream_demo\n", "Sent: {'user_id': 22, 'amount': 275.68, 'timestamp': 1778510594.5107589}\n", "Sent to stream_demo\n", "Sent: {'user_id': 2, 'amount': 196.58, 'timestamp': 1778510595.540974}\n", "Sent to stream_demo\n", "Sent: {'user_id': 63, 'amount': 390.6, 'timestamp': 1778510596.5705566}\n", "Sent to stream_demo\n", "Sent: {'user_id': 24, 'amount': 226.27, 'timestamp': 1778510597.600498}\n", "Sent to stream_demo\n", "Sent: {'user_id': 56, 'amount': 394.56, 'timestamp': 1778510598.630443}\n", "Sent to stream_demo\n", "Sent: {'user_id': 8, 'amount': 290.55, 'timestamp': 1778510599.6606884}\n", "Sent to stream_demo\n", "Sent: {'user_id': 70, 'amount': 4451.37, 'timestamp': 1778510600.6905274}\n", "Sent to stream_demo\n", "Sent: {'user_id': 22, 'amount': 110.97, 'timestamp': 1778510601.7199452}\n", "Sent to stream_demo\n", "Sent: {'user_id': 67, 'amount': 106.08, 'timestamp': 1778510602.7501926}\n", "Sent to stream_demo\n", "Sent: {'user_id': 34, 'amount': 25.66, 'timestamp': 1778510603.7799377}\n", "Sent to stream_demo\n", "Sent: {'user_id': 15, 'amount': 2613.64, 'timestamp': 1778510604.8100638}\n", "Sent to stream_demo\n", "Sent: {'user_id': 36, 'amount': 191.52, 'timestamp': 1778510605.840057}\n", "Sent to stream_demo\n", "Sent: {'user_id': 55, 'amount': 241.88, 'timestamp': 1778510606.870125}\n", "Sent to stream_demo\n", "Sent: {'user_id': 65, 'amount': 232.72, 'timestamp': 1778510607.9004948}\n", "Sent to stream_demo\n", "Sent: {'user_id': 52, 'amount': 281.47, 'timestamp': 1778510608.9302537}\n", "Sent to stream_demo\n", "Sent: {'user_id': 79, 'amount': 351.5, 'timestamp': 1778510609.9599204}\n", "Sent to stream_demo\n", "Sent: {'user_id': 69, 'amount': 447.06, 'timestamp': 1778510610.9896245}\n", "Sent to stream_demo\n", "Sent: {'user_id': 42, 'amount': 233.45, 'timestamp': 1778510612.019618}\n", "Sent to stream_demo\n", "Sent: {'user_id': 5, 'amount': 436.95, 'timestamp': 1778510613.0497627}\n", "Sent to stream_demo\n", "Sent: {'user_id': 87, 'amount': 225.41, 'timestamp': 1778510614.0801058}\n", "Sent to stream_demo\n", "Sent: {'user_id': 45, 'amount': 20.1, 'timestamp': 1778510615.1094768}\n", "Sent to stream_demo\n", "Sent: {'user_id': 82, 'amount': 208.65, 'timestamp': 1778510616.1392539}\n", "Sent to stream_demo\n", "Sent: {'user_id': 50, 'amount': 309.82, 'timestamp': 1778510617.1693215}\n", "Sent to stream_demo\n", "Sent: {'user_id': 58, 'amount': 189.92, 'timestamp': 1778510618.1990256}\n", "Sent to stream_demo\n", "Sent: {'user_id': 82, 'amount': 116.23, 'timestamp': 1778510619.2289767}\n", "Sent to stream_demo\n", "Sent: {'user_id': 16, 'amount': 375.88, 'timestamp': 1778510620.2585032}\n", "Sent to stream_demo\n", "Sent: {'user_id': 81, 'amount': 42.36, 'timestamp': 1778510621.2880607}\n", "Sent to stream_demo\n", "Sent: {'user_id': 58, 'amount': 495.35, 'timestamp': 1778510622.3185096}\n", "Sent to stream_demo\n", "Sent: {'user_id': 74, 'amount': 173.58, 'timestamp': 1778510623.3480804}\n", "Sent to stream_demo\n", "Sent: {'user_id': 20, 'amount': 41.48, 'timestamp': 1778510624.3781543}\n", "Sent to stream_demo\n", "Sent: {'user_id': 4, 'amount': 203.63, 'timestamp': 1778510625.4080634}\n", "Sent to stream_demo\n", "Sent: {'user_id': 77, 'amount': 23.71, 'timestamp': 1778510626.4382935}\n", "Sent to stream_demo\n", "Sent: {'user_id': 40, 'amount': 22.51, 'timestamp': 1778510627.4680707}\n", "Sent to stream_demo\n", "Sent: {'user_id': 92, 'amount': 337.84, 'timestamp': 1778510628.5001843}\n", "Sent to stream_demo\n", "Sent: {'user_id': 69, 'amount': 29.11, 'timestamp': 1778510629.529997}\n", "Sent to stream_demo\n", "Sent: {'user_id': 45, 'amount': 459.14, 'timestamp': 1778510630.5599825}\n", "Sent to stream_demo\n", "Sent: {'user_id': 5, 'amount': 331.75, 'timestamp': 1778510631.5894961}\n", "Sent to stream_demo\n", "Sent: {'user_id': 33, 'amount': 274.82, 'timestamp': 1778510632.6193135}\n", "Sent to stream_demo\n", "Sent: {'user_id': 95, 'amount': 128.94, 'timestamp': 1778510633.6491964}\n", "Sent to stream_demo\n", "Sent: {'user_id': 82, 'amount': 409.69, 'timestamp': 1778510634.6788418}\n", "Sent to stream_demo\n", "Sent: {'user_id': 54, 'amount': 295.75, 'timestamp': 1778510635.7088442}\n", "Sent to stream_demo\n", "Sent: {'user_id': 79, 'amount': 266.23, 'timestamp': 1778510636.7386594}\n", "Sent to stream_demo\n", "Sent: {'user_id': 51, 'amount': 257.86, 'timestamp': 1778510637.7688615}\n", "Sent to stream_demo\n", "Sent: {'user_id': 36, 'amount': 166.16, 'timestamp': 1778510638.7984936}\n", "Sent to stream_demo\n", "Sent: {'user_id': 95, 'amount': 19.62, 'timestamp': 1778510639.828434}\n", "Sent to stream_demo\n", "Sent: {'user_id': 25, 'amount': 74.62, 'timestamp': 1778510640.8585503}\n", "Sent to stream_demo\n", "Sent: {'user_id': 98, 'amount': 459.63, 'timestamp': 1778510641.8881655}\n", "Sent to stream_demo\n", "Sent: {'user_id': 19, 'amount': 373.67, 'timestamp': 1778510642.9178803}\n", "Sent to stream_demo\n", "Sent: {'user_id': 19, 'amount': 285.78, 'timestamp': 1778510643.9475126}\n", "Sent to stream_demo\n", "Sent: {'user_id': 38, 'amount': 51.93, 'timestamp': 1778510644.9768322}\n", "Sent to stream_demo\n", "Sent: {'user_id': 1, 'amount': 19.01, 'timestamp': 1778510646.006532}\n", "Sent to stream_demo\n", "Sent: {'user_id': 4, 'amount': 141.32, 'timestamp': 1778510647.0378206}\n", "Sent to stream_demo\n", "Sent: {'user_id': 68, 'amount': 2462.62, 'timestamp': 1778510648.0677578}\n", "Sent to stream_demo\n", "Sent: {'user_id': 40, 'amount': 469.96, 'timestamp': 1778510649.0979857}\n", "Sent to stream_demo\n", "Sent: {'user_id': 88, 'amount': 406.97, 'timestamp': 1778510650.1281843}\n", "Sent to stream_demo\n", "Sent: {'user_id': 40, 'amount': 74.58, 'timestamp': 1778510651.1581306}\n", "Sent to stream_demo\n", "Sent: {'user_id': 40, 'amount': 150.55, 'timestamp': 1778510652.1881502}\n", "Sent to stream_demo\n", "Sent: {'user_id': 21, 'amount': 495.9, 'timestamp': 1778510653.218476}\n", "Sent to stream_demo\n", "Sent: {'user_id': 38, 'amount': 18.26, 'timestamp': 1778510654.2488055}\n", "Sent to stream_demo\n", "Sent: {'user_id': 42, 'amount': 400.86, 'timestamp': 1778510655.2782469}\n", "Sent to stream_demo\n", "Sent: {'user_id': 65, 'amount': 110.39, 'timestamp': 1778510656.3085077}\n", "Sent to stream_demo\n", "Sent: {'user_id': 40, 'amount': 79.78, 'timestamp': 1778510657.3380325}\n", "Sent to stream_demo\n", "Sent: {'user_id': 93, 'amount': 214.69, 'timestamp': 1778510658.3684695}\n", "Sent to stream_demo\n", "Sent: {'user_id': 16, 'amount': 390.8, 'timestamp': 1778510659.3979876}\n", "Sent to stream_demo\n", "Sent: {'user_id': 78, 'amount': 440.92, 'timestamp': 1778510660.4275045}\n", "Sent to stream_demo\n", "Sent: {'user_id': 89, 'amount': 428.25, 'timestamp': 1778510661.4570332}\n", "Sent to stream_demo\n", "Sent: {'user_id': 92, 'amount': 340.55, 'timestamp': 1778510662.4864717}\n", "Sent to stream_demo\n", "Sent: {'user_id': 94, 'amount': 291.68, 'timestamp': 1778510663.5158875}\n", "Sent to stream_demo\n", "Sent: {'user_id': 2, 'amount': 334.25, 'timestamp': 1778510664.5462298}\n", "Sent to stream_demo\n", "Sent: {'user_id': 19, 'amount': 12.61, 'timestamp': 1778510665.576023}\n", "Sent to stream_demo\n", "Sent: {'user_id': 20, 'amount': 382.52, 'timestamp': 1778510666.6054597}\n", "Sent to stream_demo\n", "Sent: {'user_id': 15, 'amount': 452.92, 'timestamp': 1778510667.6351383}\n", "Sent to stream_demo\n", "Sent: {'user_id': 13, 'amount': 3160.53, 'timestamp': 1778510668.6655076}\n", "Sent to stream_demo\n", "Sent: {'user_id': 67, 'amount': 26.55, 'timestamp': 1778510669.695942}\n", "Sent to stream_demo\n", "Sent: {'user_id': 86, 'amount': 434.3, 'timestamp': 1778510670.7252188}\n", "Sent to stream_demo\n", "Sent: {'user_id': 40, 'amount': 483.0, 'timestamp': 1778510671.7549417}\n", "Sent to stream_demo\n", "Sent: {'user_id': 60, 'amount': 386.68, 'timestamp': 1778510672.7850115}\n", "Sent to stream_demo\n", "Sent: {'user_id': 92, 'amount': 109.56, 'timestamp': 1778510673.8190396}\n", "Sent to stream_demo\n", "Sent: {'user_id': 69, 'amount': 213.52, 'timestamp': 1778510674.848663}\n", "Sent to stream_demo\n", "Sent: {'user_id': 40, 'amount': 284.88, 'timestamp': 1778510675.8789086}\n", "Sent to stream_demo\n", "Sent: {'user_id': 67, 'amount': 353.51, 'timestamp': 1778510676.9090478}\n", "Sent to stream_demo\n", "Sent: {'user_id': 71, 'amount': 149.33, 'timestamp': 1778510677.9386942}\n", "Sent to stream_demo\n", "Sent: {'user_id': 80, 'amount': 98.3, 'timestamp': 1778510678.9679496}\n", "Sent to stream_demo\n", "Sent: {'user_id': 76, 'amount': 86.51, 'timestamp': 1778510679.99751}\n", "Sent to stream_demo\n", "Sent: {'user_id': 97, 'amount': 475.25, 'timestamp': 1778510681.0275514}\n", "Sent to stream_demo\n", "Sent: {'user_id': 16, 'amount': 124.1, 'timestamp': 1778510682.0573807}\n", "Sent to stream_demo\n", "Sent: {'user_id': 97, 'amount': 246.25, 'timestamp': 1778510683.087026}\n", "Sent to stream_demo\n", "Sent: {'user_id': 34, 'amount': 318.24, 'timestamp': 1778510684.1170967}\n", "Sent to stream_demo\n", "Sent: {'user_id': 54, 'amount': 95.55, 'timestamp': 1778510685.1471128}\n", "Sent to stream_demo\n", "Sent: {'user_id': 52, 'amount': 4561.86, 'timestamp': 1778510686.177364}\n", "Sent to stream_demo\n", "Sent: {'user_id': 42, 'amount': 461.99, 'timestamp': 1778510687.2070553}\n", "Sent to stream_demo\n", "Sent: {'user_id': 75, 'amount': 139.33, 'timestamp': 1778510688.237043}\n", "Sent to stream_demo\n", "Sent: {'user_id': 8, 'amount': 3740.88, 'timestamp': 1778510689.2667785}\n", "Sent to stream_demo\n", "Sent: {'user_id': 40, 'amount': 199.75, 'timestamp': 1778510690.2965333}\n", "Sent to stream_demo\n", "Sent: {'user_id': 32, 'amount': 394.87, 'timestamp': 1778510691.3265483}\n", "Sent to stream_demo\n", "Sent: {'user_id': 60, 'amount': 442.39, 'timestamp': 1778510692.356066}\n", "Sent to stream_demo\n", "Sent: {'user_id': 19, 'amount': 324.15, 'timestamp': 1778510693.3857207}\n", "Sent to stream_demo\n", "Sent: {'user_id': 87, 'amount': 246.75, 'timestamp': 1778510694.4150355}\n", "Sent to stream_demo\n", "Sent: {'user_id': 99, 'amount': 454.19, 'timestamp': 1778510695.4441855}\n", "Sent to stream_demo\n", "Sent: {'user_id': 13, 'amount': 412.68, 'timestamp': 1778510696.474086}\n", "Sent to stream_demo\n", "Sent: {'user_id': 98, 'amount': 427.08, 'timestamp': 1778510697.5041697}\n", "Sent to stream_demo\n", "Sent: {'user_id': 37, 'amount': 4262.02, 'timestamp': 1778510698.5335073}\n", "Sent to stream_demo\n", "Sent: {'user_id': 21, 'amount': 253.57, 'timestamp': 1778510699.564109}\n", "Sent to stream_demo\n", "Sent: {'user_id': 63, 'amount': 493.35, 'timestamp': 1778510700.5942316}\n", "Sent to stream_demo\n", "Sent: {'user_id': 42, 'amount': 81.76, 'timestamp': 1778510701.6239092}\n", "Sent to stream_demo\n", "Sent: {'user_id': 17, 'amount': 120.23, 'timestamp': 1778510702.654224}\n", "Sent to stream_demo\n", "Sent: {'user_id': 26, 'amount': 314.16, 'timestamp': 1778510703.6843052}\n", "Sent to stream_demo\n", "Sent: {'user_id': 17, 'amount': 145.5, 'timestamp': 1778510704.7139263}\n", "Sent to stream_demo\n", "Sent: {'user_id': 49, 'amount': 393.69, 'timestamp': 1778510705.743841}\n", "Sent to stream_demo\n", "Sent: {'user_id': 52, 'amount': 454.08, 'timestamp': 1778510706.7740536}\n", "Sent to stream_demo\n", "Sent: {'user_id': 98, 'amount': 407.37, 'timestamp': 1778510707.8031487}\n", "Sent to stream_demo\n", "Sent: {'user_id': 72, 'amount': 110.47, 'timestamp': 1778510708.8328934}\n", "Sent to stream_demo\n", "Sent: {'user_id': 91, 'amount': 447.67, 'timestamp': 1778510709.8623142}\n", "Sent to stream_demo\n", "Sent: {'user_id': 86, 'amount': 417.08, 'timestamp': 1778510710.8916059}\n", "Sent to stream_demo\n", "Sent: {'user_id': 94, 'amount': 161.15, 'timestamp': 1778510711.9210465}\n", "Sent to stream_demo\n", "Sent: {'user_id': 81, 'amount': 2608.35, 'timestamp': 1778510712.9510086}\n", "Sent to stream_demo\n", "Sent: {'user_id': 67, 'amount': 491.72, 'timestamp': 1778510713.9813945}\n", "Sent to stream_demo\n", "Sent: {'user_id': 48, 'amount': 493.28, 'timestamp': 1778510715.0105555}\n", "Sent to stream_demo\n", "Sent: {'user_id': 25, 'amount': 3325.91, 'timestamp': 1778510716.0410361}\n", "Sent to stream_demo\n", "Sent: {'user_id': 87, 'amount': 277.78, 'timestamp': 1778510717.0704913}\n", "Sent to stream_demo\n", "Sent: {'user_id': 26, 'amount': 235.04, 'timestamp': 1778510718.0994675}\n", "Sent to stream_demo\n", "Sent: {'user_id': 42, 'amount': 53.07, 'timestamp': 1778510719.128273}\n", "Sent to stream_demo\n", "Sent: {'user_id': 78, 'amount': 90.28, 'timestamp': 1778510720.1587183}\n", "Sent to stream_demo\n", "Sent: {'user_id': 3, 'amount': 91.71, 'timestamp': 1778510721.1880965}\n", "Sent to stream_demo\n", "Sent: {'user_id': 54, 'amount': 43.76, 'timestamp': 1778510722.2173936}\n", "Sent to stream_demo\n", "Sent: {'user_id': 33, 'amount': 43.09, 'timestamp': 1778510723.2474432}\n", "Sent to stream_demo\n", "Sent: {'user_id': 60, 'amount': 74.83, 'timestamp': 1778510724.2772412}\n", "Sent to stream_demo\n", "Sent: {'user_id': 31, 'amount': 61.07, 'timestamp': 1778510725.3070774}\n", "Sent to stream_demo\n", "Sent: {'user_id': 30, 'amount': 350.88, 'timestamp': 1778510726.3365068}\n", "Sent to stream_demo\n", "Sent: {'user_id': 84, 'amount': 444.46, 'timestamp': 1778510727.3660913}\n", "Sent to stream_demo\n", "Sent: {'user_id': 29, 'amount': 459.09, 'timestamp': 1778510728.3954575}\n", "Sent to stream_demo\n", "Sent: {'user_id': 4, 'amount': 208.14, 'timestamp': 1778510729.4253314}\n", "Sent to stream_demo\n", "Sent: {'user_id': 7, 'amount': 176.6, 'timestamp': 1778510730.4568062}\n", "Sent to stream_demo\n", "Sent: {'user_id': 98, 'amount': 25.61, 'timestamp': 1778510731.4863267}\n", "Sent to stream_demo\n", "Sent: {'user_id': 48, 'amount': 444.24, 'timestamp': 1778510732.5223334}\n", "Sent to stream_demo\n", "Sent: {'user_id': 47, 'amount': 439.18, 'timestamp': 1778510733.5528302}\n", "Sent to stream_demo\n", "Sent: {'user_id': 48, 'amount': 228.47, 'timestamp': 1778510734.5822446}\n", "Sent to stream_demo\n", "Sent: {'user_id': 43, 'amount': 469.65, 'timestamp': 1778510735.6119123}\n", "Sent to stream_demo\n", "Sent: {'user_id': 83, 'amount': 313.12, 'timestamp': 1778510736.6419663}\n", "Sent to stream_demo\n", "Sent: {'user_id': 80, 'amount': 478.64, 'timestamp': 1778510737.672804}\n", "Sent to stream_demo\n", "Sent: {'user_id': 59, 'amount': 348.03, 'timestamp': 1778510738.7021909}\n", "Sent to stream_demo\n", "Sent: {'user_id': 25, 'amount': 19.49, 'timestamp': 1778510739.7335103}\n", "Sent to stream_demo\n", "Sent: {'user_id': 78, 'amount': 451.2, 'timestamp': 1778510740.7630222}\n", "Sent to stream_demo\n", "Sent: {'user_id': 55, 'amount': 236.12, 'timestamp': 1778510741.792498}\n", "Sent to stream_demo\n", "Sent: {'user_id': 18, 'amount': 57.39, 'timestamp': 1778510742.8224647}\n", "Sent to stream_demo\n", "Sent: {'user_id': 47, 'amount': 92.64, 'timestamp': 1778510743.85193}\n", "Sent to stream_demo\n", "Sent: {'user_id': 21, 'amount': 218.62, 'timestamp': 1778510744.8812146}\n", "Sent to stream_demo\n", "Sent: {'user_id': 53, 'amount': 47.3, 'timestamp': 1778510745.911111}\n", "Sent to stream_demo\n", "Sent: {'user_id': 79, 'amount': 345.92, 'timestamp': 1778510746.9410458}\n", "Sent to stream_demo\n", "Sent: {'user_id': 78, 'amount': 29.82, 'timestamp': 1778510747.9714942}\n", "Sent to stream_demo\n", "Sent: {'user_id': 45, 'amount': 340.42, 'timestamp': 1778510749.0008805}\n", "Sent to stream_demo\n", "Sent: {'user_id': 71, 'amount': 406.9, 'timestamp': 1778510750.0305097}\n", "Sent to stream_demo\n", "Sent: {'user_id': 45, 'amount': 146.06, 'timestamp': 1778510751.0600963}\n", "Sent to stream_demo\n", "Sent: {'user_id': 32, 'amount': 27.31, 'timestamp': 1778510752.0894163}\n", "Sent to stream_demo\n", "Sent: {'user_id': 44, 'amount': 497.96, 'timestamp': 1778510753.1206436}\n", "Sent to stream_demo\n", "Sent: {'user_id': 33, 'amount': 460.83, 'timestamp': 1778510754.1525018}\n", "Sent to stream_demo\n", "Sent: {'user_id': 10, 'amount': 2989.07, 'timestamp': 1778510755.1830192}\n", "Sent to stream_demo\n", "Sent: {'user_id': 10, 'amount': 203.69, 'timestamp': 1778510756.213024}\n", "Sent to stream_demo\n", "Sent: {'user_id': 62, 'amount': 372.8, 'timestamp': 1778510757.2426205}\n", "Sent to stream_demo\n", "Sent: {'user_id': 46, 'amount': 364.35, 'timestamp': 1778510758.2728157}\n", "Sent to stream_demo\n", "Sent: {'user_id': 18, 'amount': 297.75, 'timestamp': 1778510759.3020377}\n", "Sent to stream_demo\n", "Sent: {'user_id': 62, 'amount': 329.22, 'timestamp': 1778510760.3316011}\n", "Sent to stream_demo\n", "Sent: {'user_id': 63, 'amount': 248.38, 'timestamp': 1778510761.3615458}\n", "Sent to stream_demo\n", "Sent: {'user_id': 51, 'amount': 335.94, 'timestamp': 1778510762.391465}\n", "Sent to stream_demo\n", "Sent: {'user_id': 24, 'amount': 179.49, 'timestamp': 1778510763.421121}\n", "Sent to stream_demo\n", "Sent: {'user_id': 89, 'amount': 184.72, 'timestamp': 1778510764.4512622}\n", "Sent to stream_demo\n", "Sent: {'user_id': 27, 'amount': 295.39, 'timestamp': 1778510765.480986}\n", "Sent to stream_demo\n", "Sent: {'user_id': 74, 'amount': 265.34, 'timestamp': 1778510766.510158}\n", "Sent to stream_demo\n", "Sent: {'user_id': 71, 'amount': 342.47, 'timestamp': 1778510767.540292}\n", "Sent to stream_demo\n", "Sent: {'user_id': 12, 'amount': 248.44, 'timestamp': 1778510768.5697863}\n", "Sent to stream_demo\n", "Sent: {'user_id': 42, 'amount': 313.92, 'timestamp': 1778510769.5991416}\n", "Sent to stream_demo\n", "Sent: {'user_id': 98, 'amount': 349.01, 'timestamp': 1778510770.6293445}\n", "Sent to stream_demo\n", "Sent: {'user_id': 10, 'amount': 442.74, 'timestamp': 1778510771.6587853}\n", "Sent to stream_demo\n", "Sent: {'user_id': 100, 'amount': 200.06, 'timestamp': 1778510772.6881824}\n", "Sent to stream_demo\n", "Sent: {'user_id': 25, 'amount': 39.68, 'timestamp': 1778510773.7180607}\n", "Sent to stream_demo\n", "Sent: {'user_id': 16, 'amount': 319.61, 'timestamp': 1778510774.747292}\n", "Sent to stream_demo\n", "Sent: {'user_id': 47, 'amount': 3793.17, 'timestamp': 1778510775.7770672}\n", "Sent to stream_demo\n", "Sent: {'user_id': 24, 'amount': 390.69, 'timestamp': 1778510776.8060043}\n", "Sent to stream_demo\n", "Sent: {'user_id': 80, 'amount': 19.69, 'timestamp': 1778510777.8357356}\n", "Sent to stream_demo\n", "Sent: {'user_id': 83, 'amount': 276.26, 'timestamp': 1778510778.865287}\n", "Sent to stream_demo\n", "Sent: {'user_id': 69, 'amount': 416.71, 'timestamp': 1778510779.8955324}\n", "Sent to stream_demo\n", "Sent: {'user_id': 57, 'amount': 237.93, 'timestamp': 1778510780.9253771}\n", "Sent to stream_demo\n", "Sent: {'user_id': 20, 'amount': 418.86, 'timestamp': 1778510781.955205}\n", "Sent to stream_demo\n", "Sent: {'user_id': 58, 'amount': 310.57, 'timestamp': 1778510782.9850168}\n", "Sent to stream_demo\n", "Sent: {'user_id': 16, 'amount': 479.72, 'timestamp': 1778510784.0145183}\n", "Sent to stream_demo\n", "Sent: {'user_id': 68, 'amount': 384.36, 'timestamp': 1778510785.0442026}\n", "Sent to stream_demo\n", "Sent: {'user_id': 39, 'amount': 120.47, 'timestamp': 1778510786.074001}\n", "Sent to stream_demo\n", "Sent: {'user_id': 67, 'amount': 93.9, 'timestamp': 1778510787.103345}\n", "Sent to stream_demo\n", "Sent: {'user_id': 67, 'amount': 85.94, 'timestamp': 1778510788.1322904}\n", "Sent to stream_demo\n", "Sent: {'user_id': 34, 'amount': 486.26, 'timestamp': 1778510789.1630726}\n", "Sent to stream_demo\n", "Sent: {'user_id': 31, 'amount': 3988.59, 'timestamp': 1778510790.1933436}\n", "Sent to stream_demo\n", "Sent: {'user_id': 40, 'amount': 229.56, 'timestamp': 1778510791.2225142}\n", "Sent to stream_demo\n", "Sent: {'user_id': 17, 'amount': 4215.92, 'timestamp': 1778510792.2527845}\n", "Sent to stream_demo\n", "Sent: {'user_id': 46, 'amount': 271.33, 'timestamp': 1778510793.2827516}\n", "Sent to stream_demo\n", "Sent: {'user_id': 79, 'amount': 29.76, 'timestamp': 1778510794.3118768}\n", "Sent to stream_demo\n", "Sent: {'user_id': 79, 'amount': 68.43, 'timestamp': 1778510795.3415554}\n", "Sent to stream_demo\n", "Sent: {'user_id': 12, 'amount': 284.65, 'timestamp': 1778510796.3711348}\n", "Sent to stream_demo\n", "Sent: {'user_id': 18, 'amount': 497.18, 'timestamp': 1778510797.4005132}\n", "Sent to stream_demo\n", "Sent: {'user_id': 18, 'amount': 438.16, 'timestamp': 1778510798.4301753}\n", "Sent to stream_demo\n", "Sent: {'user_id': 31, 'amount': 85.48, 'timestamp': 1778510799.4595597}\n", "Sent to stream_demo\n", "Sent: {'user_id': 91, 'amount': 205.49, 'timestamp': 1778510800.4884524}\n", "Sent to stream_demo\n", "Sent: {'user_id': 6, 'amount': 140.06, 'timestamp': 1778510801.5182607}\n", "Sent to stream_demo\n", "Sent: {'user_id': 42, 'amount': 292.14, 'timestamp': 1778510802.5481765}\n", "Sent to stream_demo\n", "Sent: {'user_id': 40, 'amount': 4647.52, 'timestamp': 1778510803.5788324}\n", "Sent to stream_demo\n", "Sent: {'user_id': 34, 'amount': 327.1, 'timestamp': 1778510804.6090224}\n", "Sent to stream_demo\n", "Sent: {'user_id': 58, 'amount': 183.28, 'timestamp': 1778510805.6411016}\n", "Sent to stream_demo\n", "Sent: {'user_id': 43, 'amount': 71.26, 'timestamp': 1778510806.6709962}\n", "Sent to stream_demo\n", "Sent: {'user_id': 72, 'amount': 180.88, 'timestamp': 1778510807.7009735}\n", "Sent to stream_demo\n", "Sent: {'user_id': 83, 'amount': 174.48, 'timestamp': 1778510808.7302575}\n", "Sent to stream_demo\n", "Sent: {'user_id': 73, 'amount': 319.12, 'timestamp': 1778510809.7603416}\n", "Sent to stream_demo\n", "Sent: {'user_id': 85, 'amount': 3400.57, 'timestamp': 1778510810.7892823}\n", "Sent to stream_demo\n", "Sent: {'user_id': 6, 'amount': 237.32, 'timestamp': 1778510811.8182113}\n", "Sent to stream_demo\n", "Sent: {'user_id': 21, 'amount': 214.6, 'timestamp': 1778510812.847899}\n", "Sent to stream_demo\n", "Sent: {'user_id': 20, 'amount': 236.93, 'timestamp': 1778510813.8775113}\n", "Sent to stream_demo\n", "Sent: {'user_id': 48, 'amount': 16.11, 'timestamp': 1778510814.9084508}\n", "Sent to stream_demo\n", "Sent: {'user_id': 22, 'amount': 233.4, 'timestamp': 1778510815.9380214}\n", "Sent to stream_demo\n", "Sent: {'user_id': 41, 'amount': 157.01, 'timestamp': 1778510816.9684916}\n", "Sent to stream_demo\n", "Sent: {'user_id': 89, 'amount': 140.16, 'timestamp': 1778510817.998308}\n", "Sent to stream_demo\n", "Sent: {'user_id': 5, 'amount': 99.83, 'timestamp': 1778510819.0278995}\n", "Sent to stream_demo\n", "Sent: {'user_id': 98, 'amount': 57.65, 'timestamp': 1778510820.0576148}\n", "Sent to stream_demo\n", "Sent: {'user_id': 50, 'amount': 340.96, 'timestamp': 1778510821.086585}\n", "Sent to stream_demo\n", "Sent: {'user_id': 49, 'amount': 184.45, 'timestamp': 1778510822.115765}\n", "Sent to stream_demo\n", "Sent: {'user_id': 78, 'amount': 334.7, 'timestamp': 1778510823.145187}\n", "Sent to stream_demo\n", "Sent: {'user_id': 23, 'amount': 157.51, 'timestamp': 1778510824.1742709}\n", "Sent to stream_demo\n", "Sent: {'user_id': 79, 'amount': 326.88, 'timestamp': 1778510825.2039862}\n", "Sent to stream_demo\n", "Sent: {'user_id': 67, 'amount': 279.47, 'timestamp': 1778510826.2337139}\n", "Sent to stream_demo\n", "Sent: {'user_id': 26, 'amount': 36.7, 'timestamp': 1778510827.262917}\n", "Sent to stream_demo\n", "Sent: {'user_id': 66, 'amount': 68.69, 'timestamp': 1778510828.2918868}\n", "Sent to stream_demo\n", "Sent: {'user_id': 12, 'amount': 129.14, 'timestamp': 1778510829.3222384}\n", "Sent to stream_demo\n", "Sent: {'user_id': 85, 'amount': 305.74, 'timestamp': 1778510830.3511558}\n", "Sent to stream_demo\n", "Sent: {'user_id': 64, 'amount': 129.72, 'timestamp': 1778510831.3800356}\n", "Sent to stream_demo\n", "Sent: {'user_id': 60, 'amount': 253.14, 'timestamp': 1778510832.4295142}\n", "Sent to stream_demo\n", "Sent: {'user_id': 74, 'amount': 350.18, 'timestamp': 1778510833.4591355}\n", "Sent to stream_demo\n", "Sent: {'user_id': 100, 'amount': 173.65, 'timestamp': 1778510834.4894462}\n", "Sent to stream_demo\n", "Sent: {'user_id': 32, 'amount': 248.36, 'timestamp': 1778510835.5188522}\n", "Sent to stream_demo\n", "Sent: {'user_id': 17, 'amount': 165.06, 'timestamp': 1778510836.547754}\n", "Sent to stream_demo\n", "Sent: {'user_id': 63, 'amount': 407.64, 'timestamp': 1778510837.5775595}\n", "Sent to stream_demo\n", "Sent: {'user_id': 88, 'amount': 14.44, 'timestamp': 1778510838.6070433}\n", "Sent to stream_demo\n", "Sent: {'user_id': 57, 'amount': 84.61, 'timestamp': 1778510839.6368444}\n", "Sent to stream_demo\n", "Sent: {'user_id': 84, 'amount': 429.03, 'timestamp': 1778510840.6662247}\n", "Sent to stream_demo\n", "Sent: {'user_id': 82, 'amount': 345.07, 'timestamp': 1778510841.6951716}\n", "Sent to stream_demo\n", "Sent: {'user_id': 49, 'amount': 330.34, 'timestamp': 1778510842.7249265}\n", "Sent to stream_demo\n", "Sent: {'user_id': 18, 'amount': 498.78, 'timestamp': 1778510843.7545075}\n", "Sent to stream_demo\n", "Sent: {'user_id': 89, 'amount': 415.62, 'timestamp': 1778510844.7838569}\n", "Sent to stream_demo\n", "Sent: {'user_id': 44, 'amount': 181.99, 'timestamp': 1778510845.8134382}\n", "Sent to stream_demo\n", "Sent: {'user_id': 37, 'amount': 240.17, 'timestamp': 1778510846.8439004}\n", "Sent to stream_demo\n", "Sent: {'user_id': 90, 'amount': 462.16, 'timestamp': 1778510847.8737004}\n", "Sent to stream_demo\n", "Sent: {'user_id': 1, 'amount': 245.82, 'timestamp': 1778510848.9030366}\n", "Sent to stream_demo\n", "Sent: {'user_id': 40, 'amount': 342.67, 'timestamp': 1778510849.9330745}\n", "Sent to stream_demo\n", "Sent: {'user_id': 39, 'amount': 219.11, 'timestamp': 1778510850.9633758}\n", "Sent to stream_demo\n", "Sent: {'user_id': 93, 'amount': 290.85, 'timestamp': 1778510851.992982}\n", "Sent to stream_demo\n", "Sent: {'user_id': 55, 'amount': 277.21, 'timestamp': 1778510853.0220687}\n", "Sent to stream_demo\n", "Sent: {'user_id': 60, 'amount': 406.2, 'timestamp': 1778510854.0518956}\n", "Sent to stream_demo\n", "Sent: {'user_id': 53, 'amount': 201.61, 'timestamp': 1778510855.0815215}\n", "Sent to stream_demo\n", "Sent: {'user_id': 23, 'amount': 312.23, 'timestamp': 1778510856.1107209}\n", "Sent to stream_demo\n", "Sent: {'user_id': 30, 'amount': 165.82, 'timestamp': 1778510857.140228}\n", "Sent to stream_demo\n", "Sent: {'user_id': 54, 'amount': 115.68, 'timestamp': 1778510858.1694787}\n", "Sent to stream_demo\n", "Sent: {'user_id': 60, 'amount': 423.2, 'timestamp': 1778510859.199122}\n", "Sent to stream_demo\n", "Sent: {'user_id': 16, 'amount': 304.74, 'timestamp': 1778510860.2283766}\n", "Sent to stream_demo\n", "Sent: {'user_id': 27, 'amount': 318.27, 'timestamp': 1778510861.257801}\n", "Sent to stream_demo\n", "Sent: {'user_id': 5, 'amount': 189.75, 'timestamp': 1778510862.2872427}\n", "Sent to stream_demo\n", "Sent: {'user_id': 35, 'amount': 447.78, 'timestamp': 1778510863.3170063}\n", "Sent to stream_demo\n", "Sent: {'user_id': 64, 'amount': 142.3, 'timestamp': 1778510864.3467686}\n", "Sent to stream_demo\n", "Sent: {'user_id': 42, 'amount': 52.78, 'timestamp': 1778510865.3762393}\n", "Sent to stream_demo\n", "Sent: {'user_id': 58, 'amount': 391.53, 'timestamp': 1778510866.4064884}\n", "Sent to stream_demo\n", "Sent: {'user_id': 92, 'amount': 30.37, 'timestamp': 1778510867.4360096}\n", "Sent to stream_demo\n", "Sent: {'user_id': 29, 'amount': 437.46, 'timestamp': 1778510868.4652743}\n", "Sent to stream_demo\n", "Sent: {'user_id': 56, 'amount': 172.24, 'timestamp': 1778510869.4949877}\n", "Sent to stream_demo\n", "Sent: {'user_id': 89, 'amount': 274.15, 'timestamp': 1778510870.5246997}\n", "Sent to stream_demo\n", "Sent: {'user_id': 52, 'amount': 124.61, 'timestamp': 1778510871.554211}\n", "Sent to stream_demo\n", "Sent: {'user_id': 72, 'amount': 52.15, 'timestamp': 1778510872.5833898}\n", "Sent to stream_demo\n", "Sent: {'user_id': 63, 'amount': 90.39, 'timestamp': 1778510873.6127002}\n", "Sent to stream_demo\n", "Sent: {'user_id': 28, 'amount': 494.31, 'timestamp': 1778510874.6423132}\n", "Sent to stream_demo\n", "Sent: {'user_id': 27, 'amount': 455.23, 'timestamp': 1778510875.6718647}\n", "Sent to stream_demo\n", "Sent: {'user_id': 21, 'amount': 323.82, 'timestamp': 1778510876.7010045}\n", "Sent to stream_demo\n", "Sent: {'user_id': 65, 'amount': 213.67, 'timestamp': 1778510877.7311764}\n", "Sent to stream_demo\n", "Sent: {'user_id': 94, 'amount': 268.3, 'timestamp': 1778510878.7604885}\n", "Sent to stream_demo\n", "Sent: {'user_id': 44, 'amount': 202.04, 'timestamp': 1778510879.790273}\n", "Sent to stream_demo\n", "Sent: {'user_id': 95, 'amount': 50.25, 'timestamp': 1778510880.819943}\n", "Sent to stream_demo\n", "Sent: {'user_id': 60, 'amount': 84.33, 'timestamp': 1778510881.849379}\n", "Sent to stream_demo\n", "Sent: {'user_id': 16, 'amount': 322.31, 'timestamp': 1778510882.878815}\n", "Sent to stream_demo\n", "Sent: {'user_id': 99, 'amount': 107.57, 'timestamp': 1778510883.9083154}\n", "Sent to stream_demo\n", "Sent: {'user_id': 13, 'amount': 350.11, 'timestamp': 1778510884.9375038}\n", "Sent to stream_demo\n", "Sent: {'user_id': 16, 'amount': 147.33, 'timestamp': 1778510885.9668746}\n", "Sent to stream_demo\n", "Sent: {'user_id': 20, 'amount': 59.56, 'timestamp': 1778510886.996396}\n", "Sent to stream_demo\n", "Sent: {'user_id': 77, 'amount': 127.27, 'timestamp': 1778510888.025948}\n", "Sent to stream_demo\n", "Sent: {'user_id': 52, 'amount': 259.47, 'timestamp': 1778510889.0553057}\n", "Sent to stream_demo\n", "Sent: {'user_id': 23, 'amount': 330.92, 'timestamp': 1778510890.0841773}\n", "Sent to stream_demo\n", "Sent: {'user_id': 64, 'amount': 232.1, 'timestamp': 1778510891.114069}\n", "Sent to stream_demo\n", "Sent: {'user_id': 61, 'amount': 161.82, 'timestamp': 1778510892.1436527}\n", "Sent to stream_demo\n", "Sent: {'user_id': 34, 'amount': 488.05, 'timestamp': 1778510893.1732552}\n", "Sent to stream_demo\n", "Sent: {'user_id': 12, 'amount': 317.98, 'timestamp': 1778510894.2033894}\n", "Sent to stream_demo\n", "Sent: {'user_id': 95, 'amount': 263.75, 'timestamp': 1778510895.232944}\n", "Sent to stream_demo\n", "Sent: {'user_id': 6, 'amount': 464.13, 'timestamp': 1778510896.2623816}\n", "Sent to stream_demo\n", "Sent: {'user_id': 4, 'amount': 415.72, 'timestamp': 1778510897.292224}\n", "Sent to stream_demo\n", "Sent: {'user_id': 44, 'amount': 277.32, 'timestamp': 1778510898.3219666}\n", "Sent to stream_demo\n", "Sent: {'user_id': 88, 'amount': 288.66, 'timestamp': 1778510899.3513584}\n", "Sent to stream_demo\n", "Sent: {'user_id': 84, 'amount': 124.94, 'timestamp': 1778510900.3808408}\n", "Sent to stream_demo\n", "Sent: {'user_id': 99, 'amount': 380.75, 'timestamp': 1778510901.4096344}\n", "Sent to stream_demo\n", "Sent: {'user_id': 62, 'amount': 496.53, 'timestamp': 1778510902.4388068}\n", "Sent to stream_demo\n", "Sent: {'user_id': 35, 'amount': 385.38, 'timestamp': 1778510903.4686682}\n", "Sent to stream_demo\n", "Sent: {'user_id': 30, 'amount': 227.15, 'timestamp': 1778510904.5018523}\n", "Sent to stream_demo\n", "Sent: {'user_id': 49, 'amount': 326.55, 'timestamp': 1778510905.530501}\n", "Sent to stream_demo\n", "Sent: {'user_id': 56, 'amount': 265.85, 'timestamp': 1778510906.5608037}\n", "Sent to stream_demo\n", "Sent: {'user_id': 50, 'amount': 2115.64, 'timestamp': 1778510907.5903995}\n", "Sent to stream_demo\n", "Sent: {'user_id': 9, 'amount': 187.54, 'timestamp': 1778510908.6196983}\n", "Sent to stream_demo\n", "Sent: {'user_id': 78, 'amount': 395.68, 'timestamp': 1778510909.6487403}\n", "Sent to stream_demo\n", "Sent: {'user_id': 55, 'amount': 18.35, 'timestamp': 1778510910.67786}\n", "Sent to stream_demo\n", "Sent: {'user_id': 22, 'amount': 120.17, 'timestamp': 1778510911.7079167}\n", "Sent to stream_demo\n", "Sent: {'user_id': 81, 'amount': 472.05, 'timestamp': 1778510912.737784}\n", "Sent to stream_demo\n", "Sent: {'user_id': 37, 'amount': 110.45, 'timestamp': 1778510913.7680058}\n", "Sent to stream_demo\n", "Sent: {'user_id': 12, 'amount': 431.51, 'timestamp': 1778510914.7978597}\n", "Sent to stream_demo\n", "Sent: {'user_id': 47, 'amount': 71.65, 'timestamp': 1778510915.8269289}\n", "Sent to stream_demo\n", "Sent: {'user_id': 93, 'amount': 263.79, 'timestamp': 1778510916.8563118}\n", "Sent to stream_demo\n", "Sent: {'user_id': 16, 'amount': 189.67, 'timestamp': 1778510917.885283}\n", "Sent to stream_demo\n", "Sent: {'user_id': 41, 'amount': 407.13, 'timestamp': 1778510918.9147274}\n", "Sent to stream_demo\n", "Sent: {'user_id': 77, 'amount': 12.72, 'timestamp': 1778510919.9447665}\n", "Sent to stream_demo\n", "Sent: {'user_id': 10, 'amount': 44.02, 'timestamp': 1778510920.9746325}\n", "Sent to stream_demo\n", "Sent: {'user_id': 78, 'amount': 476.26, 'timestamp': 1778510922.0040245}\n", "Sent to stream_demo\n", "Sent: {'user_id': 40, 'amount': 345.24, 'timestamp': 1778510923.0332568}\n", "Sent to stream_demo\n", "Sent: {'user_id': 59, 'amount': 187.22, 'timestamp': 1778510924.0630465}\n", "Sent to stream_demo\n", "Sent: {'user_id': 13, 'amount': 158.23, 'timestamp': 1778510925.0923367}\n", "Sent to stream_demo\n", "Sent: {'user_id': 89, 'amount': 206.85, 'timestamp': 1778510926.1217542}\n", "Sent to stream_demo\n", "Sent: {'user_id': 47, 'amount': 110.29, 'timestamp': 1778510927.1510556}\n", "Sent to stream_demo\n", "Sent: {'user_id': 36, 'amount': 174.31, 'timestamp': 1778510928.1803155}\n", "Sent to stream_demo\n", "Sent: {'user_id': 47, 'amount': 424.02, 'timestamp': 1778510929.2105188}\n", "Sent to stream_demo\n", "Sent: {'user_id': 98, 'amount': 338.84, 'timestamp': 1778510930.2396588}\n", "Sent to stream_demo\n", "Sent: {'user_id': 68, 'amount': 183.49, 'timestamp': 1778510931.2688432}\n", "Sent to stream_demo\n", "Sent: {'user_id': 51, 'amount': 196.82, 'timestamp': 1778510932.2985177}\n", "Sent to stream_demo\n", "Sent: {'user_id': 47, 'amount': 19.33, 'timestamp': 1778510933.327826}\n", "Sent to stream_demo\n", "Sent: {'user_id': 3, 'amount': 178.06, 'timestamp': 1778510934.357008}\n", "Sent to stream_demo\n", "Sent: {'user_id': 39, 'amount': 151.61, 'timestamp': 1778510935.3860836}\n", "Sent to stream_demo\n", "Sent: {'user_id': 68, 'amount': 316.78, 'timestamp': 1778510936.4149451}\n", "Sent to stream_demo\n", "Sent: {'user_id': 67, 'amount': 273.75, 'timestamp': 1778510937.444851}\n", "Sent to stream_demo\n", "Sent: {'user_id': 39, 'amount': 3803.85, 'timestamp': 1778510938.473994}\n", "Sent to stream_demo\n", "Sent: {'user_id': 13, 'amount': 206.07, 'timestamp': 1778510939.5031052}\n", "Sent to stream_demo\n", "Sent: {'user_id': 66, 'amount': 160.57, 'timestamp': 1778510940.5329149}\n", "Sent to stream_demo\n", "Sent: {'user_id': 90, 'amount': 23.82, 'timestamp': 1778510941.5620484}\n", "Sent to stream_demo\n", "Sent: {'user_id': 22, 'amount': 208.24, 'timestamp': 1778510942.591136}\n", "Sent to stream_demo\n", "Sent: {'user_id': 73, 'amount': 435.49, 'timestamp': 1778510943.6208794}\n", "Sent to stream_demo\n", "Sent: {'user_id': 86, 'amount': 231.49, 'timestamp': 1778510944.650223}\n", "Sent to stream_demo\n", "Sent: {'user_id': 43, 'amount': 194.52, 'timestamp': 1778510945.679783}\n", "Sent to stream_demo\n", "Sent: {'user_id': 16, 'amount': 492.75, 'timestamp': 1778510946.7095144}\n", "Sent to stream_demo\n", "Sent: {'user_id': 85, 'amount': 3780.45, 'timestamp': 1778510947.7389922}\n", "Sent to stream_demo\n", "Sent: {'user_id': 5, 'amount': 452.64, 'timestamp': 1778510948.7681901}\n", "Sent to stream_demo\n", "Sent: {'user_id': 6, 'amount': 378.3, 'timestamp': 1778510949.7981997}\n", "Sent to stream_demo\n", "Sent: {'user_id': 22, 'amount': 242.23, 'timestamp': 1778510950.8285248}\n", "Sent to stream_demo\n", "Sent: {'user_id': 57, 'amount': 69.4, 'timestamp': 1778510951.8587866}\n", "Sent to stream_demo\n", "Sent: {'user_id': 17, 'amount': 3693.22, 'timestamp': 1778510952.8883061}\n", "Sent to stream_demo\n", "Sent: {'user_id': 17, 'amount': 450.16, 'timestamp': 1778510953.9180062}\n", "Sent to stream_demo\n", "Sent: {'user_id': 32, 'amount': 255.03, 'timestamp': 1778510954.947637}\n", "Sent to stream_demo\n", "Sent: {'user_id': 9, 'amount': 23.93, 'timestamp': 1778510955.9765532}\n", "Sent to stream_demo\n", "Sent: {'user_id': 37, 'amount': 264.79, 'timestamp': 1778510957.005951}\n", "Sent to stream_demo\n", "Sent: {'user_id': 68, 'amount': 100.58, 'timestamp': 1778510958.0358398}\n", "Sent to stream_demo\n", "Sent: {'user_id': 97, 'amount': 57.19, 'timestamp': 1778510959.0659451}\n", "Sent to stream_demo\n", "Sent: {'user_id': 61, 'amount': 380.01, 'timestamp': 1778510960.0958006}\n", "Sent to stream_demo\n", "Sent: {'user_id': 54, 'amount': 299.4, 'timestamp': 1778510961.1255085}\n", "Sent to stream_demo\n", "Sent: {'user_id': 61, 'amount': 159.23, 'timestamp': 1778510962.155495}\n", "Sent to stream_demo\n", "Sent: {'user_id': 80, 'amount': 315.57, 'timestamp': 1778510963.185094}\n", "Sent to stream_demo\n", "Sent: {'user_id': 94, 'amount': 361.76, 'timestamp': 1778510964.214503}\n", "Sent to stream_demo\n", "Sent: {'user_id': 48, 'amount': 351.77, 'timestamp': 1778510965.2439404}\n", "Sent to stream_demo\n", "Sent: {'user_id': 85, 'amount': 105.7, 'timestamp': 1778510966.2731154}\n", "Sent to stream_demo\n", "Sent: {'user_id': 40, 'amount': 418.23, 'timestamp': 1778510967.30225}\n", "Sent to stream_demo\n", "Sent: {'user_id': 9, 'amount': 87.87, 'timestamp': 1778510968.3321805}\n", "Sent to stream_demo\n", "Sent: {'user_id': 33, 'amount': 434.85, 'timestamp': 1778510969.3616564}\n", "Sent to stream_demo\n", "Sent: {'user_id': 60, 'amount': 39.17, 'timestamp': 1778510970.3913789}\n", "Sent to stream_demo\n", "Sent: {'user_id': 53, 'amount': 435.79, 'timestamp': 1778510971.421034}\n", "Sent to stream_demo\n", "Sent: {'user_id': 44, 'amount': 26.73, 'timestamp': 1778510972.450185}\n", "Sent to stream_demo\n", "Sent: {'user_id': 83, 'amount': 268.62, 'timestamp': 1778510973.4802966}\n", "Sent to stream_demo\n", "Sent: {'user_id': 100, 'amount': 3245.68, 'timestamp': 1778510974.5102}\n", "Sent to stream_demo\n", "Sent: {'user_id': 15, 'amount': 49.39, 'timestamp': 1778510975.5397344}\n", "Sent to stream_demo\n", "Sent: {'user_id': 52, 'amount': 29.81, 'timestamp': 1778510976.5693643}\n", "Sent to stream_demo\n", "Sent: {'user_id': 56, 'amount': 201.4, 'timestamp': 1778510977.598576}\n", "Sent to stream_demo\n", "Sent: {'user_id': 36, 'amount': 140.35, 'timestamp': 1778510978.6281676}\n", "Sent to stream_demo\n", "Sent: {'user_id': 64, 'amount': 2931.94, 'timestamp': 1778510979.6579218}\n", "Sent to stream_demo\n", "Sent: {'user_id': 8, 'amount': 299.54, 'timestamp': 1778510980.6870005}\n", "Sent to stream_demo\n", "Sent: {'user_id': 67, 'amount': 184.45, 'timestamp': 1778510981.7173805}\n", "Sent to stream_demo\n", "Sent: {'user_id': 42, 'amount': 372.32, 'timestamp': 1778510982.7468812}\n", "Sent to stream_demo\n", "Sent: {'user_id': 83, 'amount': 86.69, 'timestamp': 1778510983.7764904}\n", "Sent to stream_demo\n", "Sent: {'user_id': 85, 'amount': 281.89, 'timestamp': 1778510984.8061788}\n", "Sent to stream_demo\n", "Sent: {'user_id': 14, 'amount': 227.57, 'timestamp': 1778510985.8365643}\n", "Sent to stream_demo\n", "Sent: {'user_id': 46, 'amount': 368.02, 'timestamp': 1778510986.8662052}\n", "Sent to stream_demo\n", "Sent: {'user_id': 87, 'amount': 78.07, 'timestamp': 1778510987.8950968}\n", "Sent to stream_demo\n", "Sent: {'user_id': 17, 'amount': 438.84, 'timestamp': 1778510988.9242702}\n", "Sent to stream_demo\n", "Sent: {'user_id': 92, 'amount': 86.19, 'timestamp': 1778510989.9539335}\n", "Sent to stream_demo\n", "Sent: {'user_id': 62, 'amount': 174.95, 'timestamp': 1778510990.983115}\n", "Sent to stream_demo\n", "Sent: {'user_id': 52, 'amount': 176.45, 'timestamp': 1778510992.0130844}\n", "Sent to stream_demo\n", "Sent: {'user_id': 57, 'amount': 156.06, 'timestamp': 1778510993.042557}\n", "Sent to stream_demo\n", "Sent: {'user_id': 5, 'amount': 398.71, 'timestamp': 1778510994.072049}\n", "Sent to stream_demo\n", "Sent: {'user_id': 27, 'amount': 26.63, 'timestamp': 1778510995.1018727}\n", "Sent to stream_demo\n", "Sent: {'user_id': 18, 'amount': 84.09, 'timestamp': 1778510996.1311445}\n", "Sent to stream_demo\n", "Sent: {'user_id': 97, 'amount': 74.41, 'timestamp': 1778510997.1602457}\n", "Sent to stream_demo\n", "Sent: {'user_id': 5, 'amount': 441.87, 'timestamp': 1778510998.1899471}\n", "Sent to stream_demo\n", "Sent: {'user_id': 79, 'amount': 166.42, 'timestamp': 1778510999.2197747}\n", "Sent to stream_demo\n", "Sent: {'user_id': 32, 'amount': 3421.4, 'timestamp': 1778511000.2497206}\n", "Sent to stream_demo\n", "Sent: {'user_id': 25, 'amount': 132.21, 'timestamp': 1778511001.278963}\n", "Sent to stream_demo\n", "Sent: {'user_id': 27, 'amount': 111.88, 'timestamp': 1778511002.3083634}\n", "Sent to stream_demo\n", "Sent: {'user_id': 5, 'amount': 392.34, 'timestamp': 1778511003.337523}\n", "Sent to stream_demo\n", "Sent: {'user_id': 27, 'amount': 389.1, 'timestamp': 1778511004.3673224}\n", "Sent to stream_demo\n", "Sent: {'user_id': 73, 'amount': 116.48, 'timestamp': 1778511005.3964772}\n", "Sent to stream_demo\n", "Sent: {'user_id': 89, 'amount': 103.84, 'timestamp': 1778511006.425573}\n", "Sent to stream_demo\n", "Sent: {'user_id': 50, 'amount': 332.61, 'timestamp': 1778511007.4550538}\n", "Sent to stream_demo\n", "Sent: {'user_id': 16, 'amount': 474.0, 'timestamp': 1778511008.4843712}\n", "Sent to stream_demo\n", "Sent: {'user_id': 55, 'amount': 301.62, 'timestamp': 1778511009.5142176}\n", "Sent to stream_demo\n", "Sent: {'user_id': 65, 'amount': 326.57, 'timestamp': 1778511010.544944}\n", "Sent to stream_demo\n", "Sent: {'user_id': 3, 'amount': 490.69, 'timestamp': 1778511011.574543}\n", "Sent to stream_demo\n", "Sent: {'user_id': 94, 'amount': 381.4, 'timestamp': 1778511012.6040661}\n", "Sent to stream_demo\n", "Sent: {'user_id': 99, 'amount': 121.56, 'timestamp': 1778511013.6335585}\n", "Sent to stream_demo\n", "Sent: {'user_id': 31, 'amount': 30.2, 'timestamp': 1778511014.6629546}\n", "Sent to stream_demo\n", "Sent: {'user_id': 29, 'amount': 138.49, 'timestamp': 1778511015.6930075}\n", "Sent to stream_demo\n", "Sent: {'user_id': 4, 'amount': 171.53, 'timestamp': 1778511016.723591}\n", "Sent to stream_demo\n", "Sent: {'user_id': 68, 'amount': 385.25, 'timestamp': 1778511017.7529917}\n", "Sent to stream_demo\n", "Sent: {'user_id': 94, 'amount': 12.92, 'timestamp': 1778511018.7825818}\n", "Sent to stream_demo\n", "Sent: {'user_id': 98, 'amount': 291.35, 'timestamp': 1778511019.8118234}\n", "Sent to stream_demo\n", "Sent: {'user_id': 35, 'amount': 415.38, 'timestamp': 1778511020.841072}\n", "Sent to stream_demo\n", "Sent: {'user_id': 89, 'amount': 352.44, 'timestamp': 1778511021.8707304}\n", "Sent to stream_demo\n", "Sent: {'user_id': 60, 'amount': 2496.67, 'timestamp': 1778511022.8999856}\n", "Sent to stream_demo\n", "Sent: {'user_id': 26, 'amount': 31.39, 'timestamp': 1778511023.9296055}\n", "Sent to stream_demo\n", "Sent: {'user_id': 8, 'amount': 467.38, 'timestamp': 1778511024.958989}\n", "Sent to stream_demo\n", "Sent: {'user_id': 81, 'amount': 203.07, 'timestamp': 1778511025.9889712}\n", "Sent to stream_demo\n", "Sent: {'user_id': 77, 'amount': 249.22, 'timestamp': 1778511027.0184379}\n", "Sent to stream_demo\n", "Sent: {'user_id': 63, 'amount': 2108.56, 'timestamp': 1778511028.0480638}\n", "Sent to stream_demo\n", "Sent: {'user_id': 25, 'amount': 236.08, 'timestamp': 1778511029.0777981}\n", "Sent to stream_demo\n", "Sent: {'user_id': 95, 'amount': 272.78, 'timestamp': 1778511030.106962}\n", "Sent to stream_demo\n", "Sent: {'user_id': 34, 'amount': 495.82, 'timestamp': 1778511031.1364532}\n", "Sent to stream_demo\n", "Sent: {'user_id': 46, 'amount': 236.86, 'timestamp': 1778511032.166504}\n", "Sent to stream_demo\n", "Sent: {'user_id': 21, 'amount': 140.1, 'timestamp': 1778511033.1960514}\n", "Sent to stream_demo\n", "Sent: {'user_id': 43, 'amount': 204.12, 'timestamp': 1778511034.2259338}\n", "Sent to stream_demo\n", "Sent: {'user_id': 65, 'amount': 93.98, 'timestamp': 1778511035.2557518}\n", "Sent to stream_demo\n", "Sent: {'user_id': 23, 'amount': 188.16, 'timestamp': 1778511036.2867956}\n", "Sent to stream_demo\n", "Sent: {'user_id': 55, 'amount': 473.47, 'timestamp': 1778511037.3163893}\n", "Sent to stream_demo\n", "Sent: {'user_id': 26, 'amount': 154.24, 'timestamp': 1778511038.3465703}\n", "Sent to stream_demo\n", "Sent: {'user_id': 18, 'amount': 47.19, 'timestamp': 1778511039.3761358}\n", "Sent to stream_demo\n", "Sent: {'user_id': 77, 'amount': 89.57, 'timestamp': 1778511040.405356}\n", "Sent to stream_demo\n", "Sent: {'user_id': 16, 'amount': 457.11, 'timestamp': 1778511041.4348946}\n", "Sent to stream_demo\n", "Sent: {'user_id': 36, 'amount': 455.46, 'timestamp': 1778511042.4682972}\n", "Sent to stream_demo\n", "Sent: {'user_id': 55, 'amount': 285.45, 'timestamp': 1778511043.4979246}\n", "Sent to stream_demo\n", "Sent: {'user_id': 60, 'amount': 245.62, 'timestamp': 1778511044.5279012}\n", "Sent to stream_demo\n", "Sent: {'user_id': 72, 'amount': 359.73, 'timestamp': 1778511045.5572917}\n", "Sent to stream_demo\n", "Sent: {'user_id': 49, 'amount': 132.5, 'timestamp': 1778511046.5865898}\n", "Sent to stream_demo\n", "Sent: {'user_id': 82, 'amount': 130.14, 'timestamp': 1778511047.6157835}\n", "Sent to stream_demo\n", "Sent: {'user_id': 8, 'amount': 65.28, 'timestamp': 1778511048.6450517}\n", "Sent to stream_demo\n", "Sent: {'user_id': 10, 'amount': 380.68, 'timestamp': 1778511049.675123}\n", "Sent to stream_demo\n", "Sent: {'user_id': 64, 'amount': 182.21, 'timestamp': 1778511050.7042294}\n", "Sent to stream_demo\n", "Sent: {'user_id': 39, 'amount': 33.79, 'timestamp': 1778511051.7333205}\n", "Sent to stream_demo\n", "Sent: {'user_id': 4, 'amount': 252.72, 'timestamp': 1778511052.7630203}\n", "Sent to stream_demo\n", "Sent: {'user_id': 20, 'amount': 373.61, 'timestamp': 1778511053.79261}\n", "Sent to stream_demo\n", "Sent: {'user_id': 95, 'amount': 19.78, 'timestamp': 1778511054.8220448}\n", "Sent to stream_demo\n", "Sent: {'user_id': 38, 'amount': 318.38, 'timestamp': 1778511055.8513944}\n", "Sent to stream_demo\n", "Sent: {'user_id': 39, 'amount': 398.24, 'timestamp': 1778511056.8805394}\n", "Sent to stream_demo\n", "Sent: {'user_id': 2, 'amount': 52.73, 'timestamp': 1778511057.9098616}\n", "Sent to stream_demo\n", "Sent: {'user_id': 76, 'amount': 178.16, 'timestamp': 1778511058.9395278}\n", "Sent to stream_demo\n", "Sent: {'user_id': 45, 'amount': 482.27, 'timestamp': 1778511059.9697337}\n", "Sent to stream_demo\n", "Sent: {'user_id': 72, 'amount': 442.78, 'timestamp': 1778511060.99908}\n", "Sent to stream_demo\n", "Sent: {'user_id': 79, 'amount': 363.91, 'timestamp': 1778511062.0285013}\n", "Sent to stream_demo\n", "Sent: {'user_id': 2, 'amount': 44.68, 'timestamp': 1778511063.0581696}\n", "Sent to stream_demo\n", "Sent: {'user_id': 52, 'amount': 235.8, 'timestamp': 1778511064.0876007}\n", "Sent to stream_demo\n", "Sent: {'user_id': 91, 'amount': 459.13, 'timestamp': 1778511065.1172698}\n", "Sent to stream_demo\n", "Sent: {'user_id': 92, 'amount': 17.85, 'timestamp': 1778511066.146445}\n", "Sent to stream_demo\n", "Sent: {'user_id': 11, 'amount': 30.32, 'timestamp': 1778511067.1758363}\n", "Sent to stream_demo\n", "Sent: {'user_id': 60, 'amount': 395.26, 'timestamp': 1778511068.204963}\n", "Sent to stream_demo\n", "Sent: {'user_id': 35, 'amount': 282.68, 'timestamp': 1778511069.234304}\n", "Sent to stream_demo\n", "Sent: {'user_id': 26, 'amount': 2428.14, 'timestamp': 1778511070.2639084}\n", "Sent to stream_demo\n", "Sent: {'user_id': 34, 'amount': 280.03, 'timestamp': 1778511071.2933283}\n", "Sent to stream_demo\n", "Sent: {'user_id': 35, 'amount': 36.15, 'timestamp': 1778511072.3245218}\n", "Sent to stream_demo\n", "Sent: {'user_id': 90, 'amount': 45.7, 'timestamp': 1778511073.3540006}\n", "Sent to stream_demo\n", "Sent: {'user_id': 92, 'amount': 3306.26, 'timestamp': 1778511074.3833346}\n", "Sent to stream_demo\n", "Sent: {'user_id': 1, 'amount': 323.88, 'timestamp': 1778511075.4128957}\n", "Sent to stream_demo\n", "Sent: {'user_id': 39, 'amount': 114.56, 'timestamp': 1778511076.4425023}\n", "Sent to stream_demo\n", "Sent: {'user_id': 89, 'amount': 96.93, 'timestamp': 1778511077.4718997}\n", "Sent to stream_demo\n", "Sent: {'user_id': 24, 'amount': 222.71, 'timestamp': 1778511078.5013604}\n", "Sent to stream_demo\n", "Sent: {'user_id': 94, 'amount': 4118.05, 'timestamp': 1778511079.530881}\n", "Sent to stream_demo\n", "Sent: {'user_id': 48, 'amount': 490.57, 'timestamp': 1778511080.5602179}\n", "Sent to stream_demo\n", "Sent: {'user_id': 4, 'amount': 230.95, 'timestamp': 1778511081.595163}\n", "Sent to stream_demo\n", "Sent: {'user_id': 75, 'amount': 346.45, 'timestamp': 1778511082.6257124}\n", "Sent to stream_demo\n", "Sent: {'user_id': 54, 'amount': 123.48, 'timestamp': 1778511083.6550093}\n", "Sent to stream_demo\n", "Sent: {'user_id': 23, 'amount': 477.49, 'timestamp': 1778511084.6847851}\n", "Sent to stream_demo\n", "Sent: {'user_id': 22, 'amount': 435.13, 'timestamp': 1778511085.7144806}\n", "Sent to stream_demo\n", "Sent: {'user_id': 47, 'amount': 409.96, 'timestamp': 1778511086.7444358}\n", "Sent to stream_demo\n", "Sent: {'user_id': 15, 'amount': 66.41, 'timestamp': 1778511087.773562}\n", "Sent to stream_demo\n", "Sent: {'user_id': 99, 'amount': 290.83, 'timestamp': 1778511088.8031485}\n", "Sent to stream_demo\n", "Sent: {'user_id': 72, 'amount': 15.95, 'timestamp': 1778511089.8323267}\n", "Sent to stream_demo\n", "Sent: {'user_id': 54, 'amount': 143.92, 'timestamp': 1778511090.8614678}\n", "Sent to stream_demo\n", "Sent: {'user_id': 21, 'amount': 171.5, 'timestamp': 1778511091.891112}\n", "Sent to stream_demo\n", "Sent: {'user_id': 24, 'amount': 4622.99, 'timestamp': 1778511092.9204376}\n", "Sent to stream_demo\n", "Sent: {'user_id': 30, 'amount': 390.8, 'timestamp': 1778511093.9504907}\n", "Sent to stream_demo\n", "Sent: {'user_id': 58, 'amount': 149.98, 'timestamp': 1778511094.979892}\n", "Sent to stream_demo\n", "Sent: {'user_id': 46, 'amount': 199.64, 'timestamp': 1778511096.0088649}\n", "Sent to stream_demo\n", "Sent: {'user_id': 29, 'amount': 62.92, 'timestamp': 1778511097.03806}\n", "Sent to stream_demo\n", "Sent: {'user_id': 17, 'amount': 53.11, 'timestamp': 1778511098.0677776}\n", "Sent to stream_demo\n", "Sent: {'user_id': 42, 'amount': 385.23, 'timestamp': 1778511099.0973415}\n", "Sent to stream_demo\n", "Sent: {'user_id': 22, 'amount': 285.62, 'timestamp': 1778511100.1270523}\n", "Sent to stream_demo\n", "Sent: {'user_id': 46, 'amount': 381.21, 'timestamp': 1778511101.1566958}\n", "Sent to stream_demo\n", "Sent: {'user_id': 37, 'amount': 68.01, 'timestamp': 1778511102.186805}\n", "Sent to stream_demo\n", "Sent: {'user_id': 27, 'amount': 485.18, 'timestamp': 1778511103.2165413}\n", "Sent to stream_demo\n", "Sent: {'user_id': 36, 'amount': 159.21, 'timestamp': 1778511104.245694}\n", "Sent to stream_demo\n", "Sent: {'user_id': 36, 'amount': 425.35, 'timestamp': 1778511105.2752123}\n", "Sent to stream_demo\n", "Sent: {'user_id': 77, 'amount': 386.12, 'timestamp': 1778511106.3050137}\n", "Sent to stream_demo\n", "Sent: {'user_id': 5, 'amount': 303.07, 'timestamp': 1778511107.3343859}\n", "Sent to stream_demo\n", "Sent: {'user_id': 89, 'amount': 93.87, 'timestamp': 1778511108.3643374}\n", "Sent to stream_demo\n", "Sent: {'user_id': 61, 'amount': 497.61, 'timestamp': 1778511109.3938367}\n", "Sent to stream_demo\n", "Sent: {'user_id': 59, 'amount': 48.31, 'timestamp': 1778511110.4237862}\n", "Sent to stream_demo\n", "Sent: {'user_id': 35, 'amount': 471.55, 'timestamp': 1778511111.453895}\n", "Sent to stream_demo\n", "Sent: {'user_id': 33, 'amount': 208.58, 'timestamp': 1778511112.4834864}\n", "Sent to stream_demo\n", "Sent: {'user_id': 39, 'amount': 241.86, 'timestamp': 1778511113.513175}\n", "Sent to stream_demo\n", "Sent: {'user_id': 55, 'amount': 170.81, 'timestamp': 1778511114.5427895}\n", "Sent to stream_demo\n", "Sent: {'user_id': 26, 'amount': 295.99, 'timestamp': 1778511115.572544}\n", "Sent to stream_demo\n", "Sent: {'user_id': 58, 'amount': 422.35, 'timestamp': 1778511116.6026704}\n", "Sent to stream_demo\n", "Sent: {'user_id': 44, 'amount': 447.68, 'timestamp': 1778511117.632326}\n", "Sent to stream_demo\n", "Sent: {'user_id': 75, 'amount': 319.82, 'timestamp': 1778511118.8181179}\n", "Sent to stream_demo\n", "Sent: {'user_id': 47, 'amount': 100.08, 'timestamp': 1778511119.8778975}\n", "Sent to stream_demo\n", "Sent: {'user_id': 59, 'amount': 287.92, 'timestamp': 1778511120.9069865}\n", "Sent to stream_demo\n", "Sent: {'user_id': 84, 'amount': 261.26, 'timestamp': 1778511121.9365335}\n", "Sent to stream_demo\n", "Sent: {'user_id': 59, 'amount': 471.8, 'timestamp': 1778511122.9661148}\n", "Sent to stream_demo\n", "Sent: {'user_id': 78, 'amount': 262.14, 'timestamp': 1778511124.0005374}\n", "Sent to stream_demo\n", "Sent: {'user_id': 45, 'amount': 435.2, 'timestamp': 1778511125.0300503}\n", "Sent to stream_demo\n", "Sent: {'user_id': 23, 'amount': 65.74, 'timestamp': 1778511126.0601044}\n", "Sent to stream_demo\n", "Sent: {'user_id': 8, 'amount': 318.11, 'timestamp': 1778511127.0899208}\n", "Sent to stream_demo\n", "Sent: {'user_id': 2, 'amount': 36.7, 'timestamp': 1778511128.1193497}\n", "Sent to stream_demo\n", "Sent: {'user_id': 50, 'amount': 440.79, 'timestamp': 1778511129.1488125}\n", "Sent to stream_demo\n", "Sent: {'user_id': 43, 'amount': 49.25, 'timestamp': 1778511130.1779125}\n", "Sent to stream_demo\n", "Sent: {'user_id': 54, 'amount': 316.26, 'timestamp': 1778511131.207468}\n", "Sent to stream_demo\n", "Sent: {'user_id': 81, 'amount': 404.49, 'timestamp': 1778511132.237181}\n", "Sent to stream_demo\n", "Sent: {'user_id': 97, 'amount': 331.34, 'timestamp': 1778511133.2672246}\n", "Sent to stream_demo\n", "Sent: {'user_id': 48, 'amount': 119.83, 'timestamp': 1778511134.296667}\n", "Sent to stream_demo\n", "Sent: {'user_id': 64, 'amount': 232.72, 'timestamp': 1778511135.3261738}\n", "Sent to stream_demo\n", "Sent: {'user_id': 64, 'amount': 51.99, 'timestamp': 1778511136.3553908}\n", "Sent to stream_demo\n", "Sent: {'user_id': 95, 'amount': 89.57, 'timestamp': 1778511137.3847895}\n", "Sent to stream_demo\n", "Sent: {'user_id': 47, 'amount': 362.98, 'timestamp': 1778511138.4141765}\n", "Sent to stream_demo\n", "Sent: {'user_id': 15, 'amount': 433.94, 'timestamp': 1778511139.4437597}\n", "Sent to stream_demo\n", "Sent: {'user_id': 37, 'amount': 61.99, 'timestamp': 1778511140.473591}\n", "Sent to stream_demo\n", "Sent: {'user_id': 68, 'amount': 481.11, 'timestamp': 1778511141.5032525}\n", "Sent to stream_demo\n", "Sent: {'user_id': 44, 'amount': 81.41, 'timestamp': 1778511142.5330107}\n", "Sent to stream_demo\n", "Sent: {'user_id': 47, 'amount': 4499.06, 'timestamp': 1778511143.5628564}\n", "Sent to stream_demo\n", "Sent: {'user_id': 15, 'amount': 173.49, 'timestamp': 1778511144.5920038}\n", "Sent to stream_demo\n", "Sent: {'user_id': 42, 'amount': 134.95, 'timestamp': 1778511145.6214845}\n", "Sent to stream_demo\n", "Sent: {'user_id': 69, 'amount': 92.86, 'timestamp': 1778511146.6518416}\n", "Sent to stream_demo\n", "Sent: {'user_id': 33, 'amount': 239.95, 'timestamp': 1778511147.682142}\n", "Sent to stream_demo\n", "Sent: {'user_id': 48, 'amount': 92.4, 'timestamp': 1778511148.7116728}\n", "Sent to stream_demo\n", "Sent: {'user_id': 5, 'amount': 405.57, 'timestamp': 1778511149.740969}\n", "Sent to stream_demo\n", "Sent: {'user_id': 22, 'amount': 406.19, 'timestamp': 1778511150.7707396}\n", "Sent to stream_demo\n", "Sent: {'user_id': 32, 'amount': 334.63, 'timestamp': 1778511151.8003006}\n", "Sent to stream_demo\n", "Sent: {'user_id': 64, 'amount': 489.77, 'timestamp': 1778511152.8296912}\n", "Sent to stream_demo\n", "Sent: {'user_id': 61, 'amount': 470.74, 'timestamp': 1778511153.8592856}\n", "Sent to stream_demo\n", "Sent: {'user_id': 82, 'amount': 358.02, 'timestamp': 1778511154.8890634}\n", "Sent to stream_demo\n", "Sent: {'user_id': 66, 'amount': 431.29, 'timestamp': 1778511155.9183521}\n", "Sent to stream_demo\n", "Sent: {'user_id': 47, 'amount': 3100.06, 'timestamp': 1778511156.9478474}\n", "Sent to stream_demo\n", "Sent: {'user_id': 11, 'amount': 186.26, 'timestamp': 1778511157.9768813}\n", "Sent to stream_demo\n", "Sent: {'user_id': 7, 'amount': 63.98, 'timestamp': 1778511159.0060086}\n", "Sent to stream_demo\n", "Sent: {'user_id': 89, 'amount': 173.22, 'timestamp': 1778511160.0354838}\n", "Sent to stream_demo\n", "Sent: {'user_id': 6, 'amount': 382.59, 'timestamp': 1778511161.0650394}\n", "Sent to stream_demo\n", "Sent: {'user_id': 14, 'amount': 160.68, 'timestamp': 1778511162.095038}\n", "Sent to stream_demo\n", "Sent: {'user_id': 52, 'amount': 386.34, 'timestamp': 1778511163.1265113}\n", "Sent to stream_demo\n", "Sent: {'user_id': 80, 'amount': 342.5, 'timestamp': 1778511164.1562798}\n", "Sent to stream_demo\n", "Sent: {'user_id': 64, 'amount': 44.42, 'timestamp': 1778511165.185782}\n", "Sent to stream_demo\n", "Sent: {'user_id': 73, 'amount': 404.68, 'timestamp': 1778511166.2148054}\n", "Sent to stream_demo\n", "Sent: {'user_id': 18, 'amount': 2841.2, 'timestamp': 1778511167.244312}\n", "Sent to stream_demo\n", "Sent: {'user_id': 97, 'amount': 20.36, 'timestamp': 1778511168.273312}\n", "Sent to stream_demo\n", "Sent: {'user_id': 43, 'amount': 269.85, 'timestamp': 1778511169.3029292}\n", "Sent to stream_demo\n", "Sent: {'user_id': 74, 'amount': 2872.97, 'timestamp': 1778511170.3327472}\n", "Sent to stream_demo\n", "Sent: {'user_id': 49, 'amount': 362.4, 'timestamp': 1778511171.3629868}\n", "Sent to stream_demo\n", "Sent: {'user_id': 43, 'amount': 2185.13, 'timestamp': 1778511172.394044}\n", "Sent to stream_demo\n", "Sent: {'user_id': 9, 'amount': 456.99, 'timestamp': 1778511173.4237523}\n", "Sent to stream_demo\n", "Sent: {'user_id': 83, 'amount': 491.86, 'timestamp': 1778511174.4536717}\n", "Sent to stream_demo\n", "Sent: {'user_id': 38, 'amount': 320.79, 'timestamp': 1778511175.483312}\n", "Sent to stream_demo\n", "Sent: {'user_id': 8, 'amount': 142.26, 'timestamp': 1778511176.5124874}\n", "Sent to stream_demo\n", "Sent: {'user_id': 10, 'amount': 34.09, 'timestamp': 1778511177.5420015}\n", "Sent to stream_demo\n", "Sent: {'user_id': 100, 'amount': 437.12, 'timestamp': 1778511178.5711257}\n", "Sent to stream_demo\n", "Sent: {'user_id': 35, 'amount': 496.24, 'timestamp': 1778511179.6004941}\n", "Sent to stream_demo\n", "Sent: {'user_id': 16, 'amount': 354.88, 'timestamp': 1778511180.6301866}\n", "Sent to stream_demo\n", "Sent: {'user_id': 96, 'amount': 255.39, 'timestamp': 1778511181.6597793}\n", "Sent to stream_demo\n", "Sent: {'user_id': 2, 'amount': 281.38, 'timestamp': 1778511182.6891758}\n", "Sent to stream_demo\n", "Sent: {'user_id': 58, 'amount': 129.11, 'timestamp': 1778511183.7189415}\n", "Sent to stream_demo\n", "Sent: {'user_id': 67, 'amount': 499.38, 'timestamp': 1778511184.7481182}\n", "Sent to stream_demo\n", "Sent: {'user_id': 88, 'amount': 140.27, 'timestamp': 1778511185.778212}\n", "Sent to stream_demo\n", "Sent: {'user_id': 14, 'amount': 378.9, 'timestamp': 1778511186.807825}\n", "Sent to stream_demo\n", "Sent: {'user_id': 72, 'amount': 158.91, 'timestamp': 1778511187.8371327}\n", "Sent to stream_demo\n", "Sent: {'user_id': 19, 'amount': 98.29, 'timestamp': 1778511188.8665044}\n", "Sent to stream_demo\n", "Sent: {'user_id': 72, 'amount': 461.56, 'timestamp': 1778511189.8958838}\n", "Sent to stream_demo\n", "Sent: {'user_id': 19, 'amount': 102.92, 'timestamp': 1778511190.9250717}\n", "Sent to stream_demo\n", "Sent: {'user_id': 1, 'amount': 226.73, 'timestamp': 1778511191.9545364}\n", "Sent to stream_demo\n", "Sent: {'user_id': 46, 'amount': 279.03, 'timestamp': 1778511192.984532}\n", "Sent to stream_demo\n", "Sent: {'user_id': 97, 'amount': 216.68, 'timestamp': 1778511194.0137184}\n", "Sent to stream_demo\n", "Sent: {'user_id': 86, 'amount': 476.61, 'timestamp': 1778511195.043297}\n", "Sent to stream_demo\n", "Sent: {'user_id': 47, 'amount': 267.81, 'timestamp': 1778511196.0744956}\n", "Sent to stream_demo\n", "Sent: {'user_id': 74, 'amount': 268.71, 'timestamp': 1778511197.103795}\n", "Sent to stream_demo\n", "Sent: {'user_id': 68, 'amount': 453.39, 'timestamp': 1778511198.1333938}\n", "Sent to stream_demo\n", "Sent: {'user_id': 48, 'amount': 264.93, 'timestamp': 1778511199.1630619}\n", "Sent to stream_demo\n", "Sent: {'user_id': 51, 'amount': 55.25, 'timestamp': 1778511200.1925724}\n", "Sent to stream_demo\n", "Sent: {'user_id': 49, 'amount': 348.03, 'timestamp': 1778511201.2217247}\n", "Sent to stream_demo\n", "Sent: {'user_id': 54, 'amount': 396.37, 'timestamp': 1778511202.2512293}\n", "Sent to stream_demo\n", "Sent: {'user_id': 39, 'amount': 250.65, 'timestamp': 1778511203.280913}\n", "Sent to stream_demo\n", "Sent: {'user_id': 47, 'amount': 429.61, 'timestamp': 1778511204.3103654}\n", "Sent to stream_demo\n", "Sent: {'user_id': 13, 'amount': 463.12, 'timestamp': 1778511205.339365}\n", "Sent to stream_demo\n", "Sent: {'user_id': 81, 'amount': 481.77, 'timestamp': 1778511206.3699145}\n", "Sent to stream_demo\n", "Sent: {'user_id': 92, 'amount': 337.45, 'timestamp': 1778511207.3996434}\n", "Sent to stream_demo\n", "Sent: {'user_id': 48, 'amount': 259.78, 'timestamp': 1778511208.4292712}\n", "Sent to stream_demo\n", "Sent: {'user_id': 56, 'amount': 417.49, 'timestamp': 1778511209.4586816}\n", "Sent to stream_demo\n", "Sent: {'user_id': 61, 'amount': 430.26, 'timestamp': 1778511210.4883575}\n", "Sent to stream_demo\n", "Sent: {'user_id': 8, 'amount': 68.43, 'timestamp': 1778511211.5179431}\n", "Sent to stream_demo\n", "Sent: {'user_id': 58, 'amount': 104.79, 'timestamp': 1778511212.5472896}\n", "Sent to stream_demo\n", "Sent: {'user_id': 83, 'amount': 360.2, 'timestamp': 1778511213.576487}\n", "Sent to stream_demo\n", "Sent: {'user_id': 23, 'amount': 392.77, 'timestamp': 1778511214.605999}\n", "Sent to stream_demo\n", "Sent: {'user_id': 93, 'amount': 202.65, 'timestamp': 1778511215.636001}\n", "Sent to stream_demo\n", "Sent: {'user_id': 91, 'amount': 330.18, 'timestamp': 1778511216.6654677}\n", "Sent to stream_demo\n", "Sent: {'user_id': 53, 'amount': 37.37, 'timestamp': 1778511217.6944985}\n", "Sent to stream_demo\n", "Sent: {'user_id': 54, 'amount': 93.24, 'timestamp': 1778511218.7234664}\n", "Sent to stream_demo\n", "Sent: {'user_id': 46, 'amount': 386.47, 'timestamp': 1778511219.7529469}\n", "Sent to stream_demo\n", "Sent: {'user_id': 90, 'amount': 450.56, 'timestamp': 1778511220.7820003}\n", "Sent to stream_demo\n", "Sent: {'user_id': 51, 'amount': 194.78, 'timestamp': 1778511221.8112078}\n", "Sent to stream_demo\n", "Sent: {'user_id': 69, 'amount': 36.35, 'timestamp': 1778511222.8403308}\n", "Sent to stream_demo\n", "Sent: {'user_id': 47, 'amount': 58.18, 'timestamp': 1778511223.8701787}\n", "Sent to stream_demo\n", "Sent: {'user_id': 97, 'amount': 39.37, 'timestamp': 1778511224.8992782}\n", "Sent to stream_demo\n", "Sent: {'user_id': 87, 'amount': 462.48, 'timestamp': 1778511225.9288108}\n", "Sent to stream_demo\n", "Sent: {'user_id': 49, 'amount': 147.47, 'timestamp': 1778511226.9584944}\n", "Sent to stream_demo\n", "Sent: {'user_id': 10, 'amount': 423.98, 'timestamp': 1778511227.9879851}\n", "Sent to stream_demo\n", "Sent: {'user_id': 55, 'amount': 488.64, 'timestamp': 1778511229.0170968}\n", "Sent to stream_demo\n", "Sent: {'user_id': 7, 'amount': 200.05, 'timestamp': 1778511230.0470839}\n", "Sent to stream_demo\n", "Sent: {'user_id': 30, 'amount': 499.07, 'timestamp': 1778511231.0765626}\n", "Sent to stream_demo\n", "Sent: {'user_id': 3, 'amount': 215.56, 'timestamp': 1778511232.1059628}\n", "Sent to stream_demo\n", "Sent: {'user_id': 73, 'amount': 148.1, 'timestamp': 1778511233.1356778}\n", "Sent to stream_demo\n", "Sent: {'user_id': 62, 'amount': 438.64, 'timestamp': 1778511234.16526}\n", "Sent to stream_demo\n", "Sent: {'user_id': 74, 'amount': 309.46, 'timestamp': 1778511235.1961584}\n", "Sent to stream_demo\n", "Sent: {'user_id': 99, 'amount': 100.41, 'timestamp': 1778511236.2259402}\n", "Sent to stream_demo\n", "Sent: {'user_id': 22, 'amount': 489.36, 'timestamp': 1778511237.2551801}\n", "Sent to stream_demo\n", "Sent: {'user_id': 49, 'amount': 188.43, 'timestamp': 1778511238.2847805}\n", "Sent to stream_demo\n", "Sent: {'user_id': 74, 'amount': 259.55, 'timestamp': 1778511239.314079}\n", "Sent to stream_demo\n", "Sent: {'user_id': 59, 'amount': 484.7, 'timestamp': 1778511240.3435452}\n", "Sent to stream_demo\n", "Sent: {'user_id': 64, 'amount': 411.97, 'timestamp': 1778511241.3730948}\n", "Sent to stream_demo\n", "Sent: {'user_id': 20, 'amount': 63.9, 'timestamp': 1778511242.4021342}\n", "Sent to stream_demo\n", "Sent: {'user_id': 64, 'amount': 227.9, 'timestamp': 1778511243.4323182}\n", "Sent to stream_demo\n", "Sent: {'user_id': 4, 'amount': 34.18, 'timestamp': 1778511244.4618628}\n", "Sent to stream_demo\n", "Sent: {'user_id': 37, 'amount': 234.48, 'timestamp': 1778511245.4924924}\n", "Sent to stream_demo\n", "Sent: {'user_id': 70, 'amount': 160.06, 'timestamp': 1778511246.521926}\n", "Sent to stream_demo\n", "Sent: {'user_id': 25, 'amount': 404.85, 'timestamp': 1778511247.5513337}\n", "Sent to stream_demo\n", "Sent: {'user_id': 49, 'amount': 399.08, 'timestamp': 1778511248.580316}\n", "Sent to stream_demo\n", "Sent: {'user_id': 42, 'amount': 297.91, 'timestamp': 1778511249.6095903}\n", "Sent to stream_demo\n", "Sent: {'user_id': 68, 'amount': 162.0, 'timestamp': 1778511250.6394491}\n", "Sent to stream_demo\n", "Sent: {'user_id': 18, 'amount': 331.57, 'timestamp': 1778511251.669185}\n", "Sent to stream_demo\n", "Sent: {'user_id': 97, 'amount': 169.86, 'timestamp': 1778511252.6986988}\n", "Sent to stream_demo\n", "Sent: {'user_id': 51, 'amount': 92.72, 'timestamp': 1778511253.7283442}\n", "Sent to stream_demo\n", "Sent: {'user_id': 69, 'amount': 129.35, 'timestamp': 1778511254.757362}\n", "Sent to stream_demo\n", "Sent: {'user_id': 9, 'amount': 415.29, 'timestamp': 1778511255.7870493}\n", "Sent to stream_demo\n", "Sent: {'user_id': 5, 'amount': 86.77, 'timestamp': 1778511256.8160808}\n", "Sent to stream_demo\n", "Sent: {'user_id': 42, 'amount': 368.05, 'timestamp': 1778511257.8459811}\n", "Sent to stream_demo\n", "Sent: {'user_id': 9, 'amount': 157.72, 'timestamp': 1778511258.8795204}\n", "Sent to stream_demo\n", "Sent: {'user_id': 3, 'amount': 105.11, 'timestamp': 1778511259.90858}\n", "Sent to stream_demo\n", "Sent: {'user_id': 50, 'amount': 272.7, 'timestamp': 1778511260.9381785}\n", "Sent to stream_demo\n", "Sent: {'user_id': 75, 'amount': 480.84, 'timestamp': 1778511261.9671946}\n", "Sent to stream_demo\n", "Sent: {'user_id': 55, 'amount': 384.51, 'timestamp': 1778511262.9965096}\n", "Sent to stream_demo\n", "Sent: {'user_id': 77, 'amount': 361.38, 'timestamp': 1778511264.0259695}\n", "Sent to stream_demo\n", "Sent: {'user_id': 23, 'amount': 3989.91, 'timestamp': 1778511265.0557046}\n", "Sent to stream_demo\n", "Sent: {'user_id': 76, 'amount': 292.8, 'timestamp': 1778511266.0857232}\n", "Sent to stream_demo\n", "Sent: {'user_id': 62, 'amount': 77.8, 'timestamp': 1778511267.1154387}\n", "Sent to stream_demo\n", "Sent: {'user_id': 45, 'amount': 287.07, 'timestamp': 1778511268.145078}\n", "Sent to stream_demo\n", "Sent: {'user_id': 94, 'amount': 166.99, 'timestamp': 1778511269.1743422}\n", "Sent to stream_demo\n", "Sent: {'user_id': 41, 'amount': 44.35, 'timestamp': 1778511270.2035475}\n", "Sent to stream_demo\n", "Sent: {'user_id': 26, 'amount': 422.83, 'timestamp': 1778511271.2330906}\n", "Sent to stream_demo\n", "Sent: {'user_id': 73, 'amount': 144.37, 'timestamp': 1778511272.2625315}\n", "Sent to stream_demo\n", "Sent: {'user_id': 35, 'amount': 292.72, 'timestamp': 1778511273.2918222}\n", "Sent to stream_demo\n", "Sent: {'user_id': 79, 'amount': 2373.31, 'timestamp': 1778511274.321284}\n", "Sent to stream_demo\n", "Sent: {'user_id': 22, 'amount': 251.05, 'timestamp': 1778511275.3510256}\n", "Sent to stream_demo\n", "Sent: {'user_id': 64, 'amount': 16.32, 'timestamp': 1778511276.3805513}\n", "Sent to stream_demo\n", "Sent: {'user_id': 6, 'amount': 3488.1, 'timestamp': 1778511277.4099202}\n", "Sent to stream_demo\n", "Sent: {'user_id': 29, 'amount': 231.33, 'timestamp': 1778511278.4394314}\n", "Sent to stream_demo\n", "Sent: {'user_id': 93, 'amount': 210.52, 'timestamp': 1778511279.4690049}\n", "Sent to stream_demo\n", "Sent: {'user_id': 38, 'amount': 495.77, 'timestamp': 1778511280.4983976}\n", "Sent to stream_demo\n", "Sent: {'user_id': 12, 'amount': 160.2, 'timestamp': 1778511281.527357}\n", "Sent to stream_demo\n", "Sent: {'user_id': 67, 'amount': 318.59, 'timestamp': 1778511282.5565712}\n", "Sent to stream_demo\n", "Sent: {'user_id': 10, 'amount': 33.27, 'timestamp': 1778511283.586111}\n", "Sent to stream_demo\n", "Sent: {'user_id': 95, 'amount': 40.53, 'timestamp': 1778511284.6152072}\n", "Sent to stream_demo\n", "Sent: {'user_id': 91, 'amount': 3185.81, 'timestamp': 1778511285.644565}\n", "Sent to stream_demo\n", "Sent: {'user_id': 37, 'amount': 438.72, 'timestamp': 1778511286.6735377}\n", "Sent to stream_demo\n", "Sent: {'user_id': 65, 'amount': 480.17, 'timestamp': 1778511287.7030475}\n", "Sent to stream_demo\n", "Sent: {'user_id': 21, 'amount': 151.38, 'timestamp': 1778511288.7319343}\n", "Sent to stream_demo\n", "Sent: {'user_id': 80, 'amount': 71.04, 'timestamp': 1778511289.7615147}\n", "Sent to stream_demo\n", "Sent: {'user_id': 63, 'amount': 132.04, 'timestamp': 1778511290.7910347}\n", "Sent to stream_demo\n", "Sent: {'user_id': 27, 'amount': 356.77, 'timestamp': 1778511291.8205}\n", "Sent to stream_demo\n", "Sent: {'user_id': 67, 'amount': 4865.99, 'timestamp': 1778511292.849584}\n", "Sent to stream_demo\n", "Sent: {'user_id': 79, 'amount': 255.86, 'timestamp': 1778511293.8788848}\n", "Sent to stream_demo\n", "Sent: {'user_id': 38, 'amount': 102.32, 'timestamp': 1778511294.9085655}\n", "Sent to stream_demo\n", "Sent: {'user_id': 89, 'amount': 344.21, 'timestamp': 1778511295.937487}\n", "Sent to stream_demo\n", "Sent: {'user_id': 14, 'amount': 40.24, 'timestamp': 1778511296.9670482}\n", "Sent to stream_demo\n", "Sent: {'user_id': 47, 'amount': 16.76, 'timestamp': 1778511297.9965713}\n", "Sent to stream_demo\n", "Sent: {'user_id': 61, 'amount': 319.72, 'timestamp': 1778511299.0257351}\n", "Sent to stream_demo\n", "Sent: {'user_id': 55, 'amount': 87.76, 'timestamp': 1778511300.0552204}\n", "Sent to stream_demo\n", "Sent: {'user_id': 69, 'amount': 65.82, 'timestamp': 1778511301.0852962}\n", "Sent to stream_demo\n", "Sent: {'user_id': 17, 'amount': 432.03, 'timestamp': 1778511302.1149642}\n", "Sent to stream_demo\n", "Sent: {'user_id': 80, 'amount': 491.83, 'timestamp': 1778511303.1449602}\n", "Sent to stream_demo\n", "Sent: {'user_id': 97, 'amount': 293.28, 'timestamp': 1778511304.174371}\n", "Sent to stream_demo\n", "Sent: {'user_id': 69, 'amount': 108.79, 'timestamp': 1778511305.2040894}\n", "Sent to stream_demo\n", "Sent: {'user_id': 22, 'amount': 458.66, 'timestamp': 1778511306.2336404}\n", "Sent to stream_demo\n", "Sent: {'user_id': 59, 'amount': 435.13, 'timestamp': 1778511307.263307}\n", "Sent to stream_demo\n", "Sent: {'user_id': 35, 'amount': 91.48, 'timestamp': 1778511308.2927303}\n", "Sent to stream_demo\n", "Sent: {'user_id': 59, 'amount': 436.02, 'timestamp': 1778511309.322242}\n", "Sent to stream_demo\n", "Sent: {'user_id': 38, 'amount': 145.2, 'timestamp': 1778511310.3520613}\n", "Sent to stream_demo\n", "Sent: {'user_id': 84, 'amount': 166.45, 'timestamp': 1778511311.3810983}\n", "Sent to stream_demo\n", "Sent: {'user_id': 49, 'amount': 274.5, 'timestamp': 1778511312.4103808}\n", "Sent to stream_demo\n", "Sent: {'user_id': 9, 'amount': 286.55, 'timestamp': 1778511313.43988}\n", "Sent to stream_demo\n", "Sent: {'user_id': 92, 'amount': 424.07, 'timestamp': 1778511314.468817}\n", "Sent to stream_demo\n", "Sent: {'user_id': 40, 'amount': 167.37, 'timestamp': 1778511315.4981225}\n", "Sent to stream_demo\n", "Sent: {'user_id': 2, 'amount': 479.7, 'timestamp': 1778511316.5282683}\n", "Sent to stream_demo\n", "Sent: {'user_id': 95, 'amount': 112.24, 'timestamp': 1778511317.5579426}\n", "Sent to stream_demo\n", "Sent: {'user_id': 15, 'amount': 55.78, 'timestamp': 1778511318.58753}\n", "Sent to stream_demo\n", "Sent: {'user_id': 96, 'amount': 20.98, 'timestamp': 1778511319.617242}\n", "Sent to stream_demo\n", "Sent: {'user_id': 74, 'amount': 389.06, 'timestamp': 1778511320.647015}\n", "Sent to stream_demo\n", "Sent: {'user_id': 68, 'amount': 135.95, 'timestamp': 1778511321.6772454}\n", "Sent to stream_demo\n", "Sent: {'user_id': 1, 'amount': 298.07, 'timestamp': 1778511322.7067213}\n", "Sent to stream_demo\n", "Sent: {'user_id': 26, 'amount': 161.74, 'timestamp': 1778511323.7359936}\n", "Sent to stream_demo\n", "Sent: {'user_id': 34, 'amount': 97.13, 'timestamp': 1778511324.7652292}\n", "Sent to stream_demo\n", "Sent: {'user_id': 90, 'amount': 355.1, 'timestamp': 1778511325.7968152}\n", "Sent to stream_demo\n", "Sent: {'user_id': 30, 'amount': 102.44, 'timestamp': 1778511326.8259895}\n", "Sent to stream_demo\n", "Sent: {'user_id': 82, 'amount': 463.14, 'timestamp': 1778511327.857042}\n", "Sent to stream_demo\n", "Sent: {'user_id': 41, 'amount': 498.85, 'timestamp': 1778511328.88626}\n", "Sent to stream_demo\n", "Sent: {'user_id': 67, 'amount': 424.85, 'timestamp': 1778511329.915849}\n", "Sent to stream_demo\n", "Sent: {'user_id': 95, 'amount': 40.73, 'timestamp': 1778511330.9452024}\n", "Sent to stream_demo\n", "Sent: {'user_id': 27, 'amount': 207.07, 'timestamp': 1778511331.9746356}\n", "Sent to stream_demo\n", "Sent: {'user_id': 6, 'amount': 153.74, 'timestamp': 1778511333.003952}\n", "Sent to stream_demo\n", "Sent: {'user_id': 63, 'amount': 329.16, 'timestamp': 1778511334.03358}\n", "Sent to stream_demo\n", "Sent: {'user_id': 29, 'amount': 54.0, 'timestamp': 1778511335.0640345}\n", "Sent to stream_demo\n", "Sent: {'user_id': 36, 'amount': 130.75, 'timestamp': 1778511336.0968363}\n", "Sent to stream_demo\n", "Sent: {'user_id': 48, 'amount': 111.06, 'timestamp': 1778511337.1264994}\n", "Sent to stream_demo\n", "Sent: {'user_id': 50, 'amount': 395.03, 'timestamp': 1778511338.156037}\n", "Sent to stream_demo\n", "Sent: {'user_id': 38, 'amount': 266.45, 'timestamp': 1778511339.1852608}\n", "Sent to stream_demo\n", "Sent: {'user_id': 16, 'amount': 50.3, 'timestamp': 1778511340.2144527}\n", "Sent to stream_demo\n", "Sent: {'user_id': 44, 'amount': 197.9, 'timestamp': 1778511341.2437735}\n", "Sent to stream_demo\n", "Sent: {'user_id': 47, 'amount': 166.85, 'timestamp': 1778511342.2737613}\n", "Sent to stream_demo\n", "Sent: {'user_id': 21, 'amount': 357.75, 'timestamp': 1778511343.3029327}\n", "Sent to stream_demo\n", "Sent: {'user_id': 20, 'amount': 433.83, 'timestamp': 1778511344.333042}\n", "Sent to stream_demo\n", "Sent: {'user_id': 33, 'amount': 161.17, 'timestamp': 1778511345.362527}\n", "Sent to stream_demo\n", "Sent: {'user_id': 44, 'amount': 374.5, 'timestamp': 1778511346.394313}\n", "Sent to stream_demo\n", "Sent: {'user_id': 80, 'amount': 439.19, 'timestamp': 1778511347.424084}\n", "Sent to stream_demo\n", "Sent: {'user_id': 40, 'amount': 391.83, 'timestamp': 1778511348.4536262}\n", "Sent to stream_demo\n", "Sent: {'user_id': 2, 'amount': 381.08, 'timestamp': 1778511349.4833193}\n", "Sent to stream_demo\n", "Sent: {'user_id': 21, 'amount': 176.01, 'timestamp': 1778511350.5130885}\n", "Sent to stream_demo\n", "Sent: {'user_id': 48, 'amount': 274.59, 'timestamp': 1778511351.542837}\n", "Sent to stream_demo\n", "Sent: {'user_id': 42, 'amount': 55.18, 'timestamp': 1778511352.5722768}\n", "Sent to stream_demo\n", "Sent: {'user_id': 23, 'amount': 432.49, 'timestamp': 1778511353.6018515}\n", "Sent to stream_demo\n", "Sent: {'user_id': 66, 'amount': 450.87, 'timestamp': 1778511354.631535}\n", "Sent to stream_demo\n", "Sent: {'user_id': 98, 'amount': 46.38, 'timestamp': 1778511355.6609886}\n", "Sent to stream_demo\n", "Sent: {'user_id': 48, 'amount': 455.01, 'timestamp': 1778511356.6900918}\n", "Sent to stream_demo\n", "Sent: {'user_id': 69, 'amount': 492.07, 'timestamp': 1778511357.7195122}\n", "Sent to stream_demo\n", "Sent: {'user_id': 80, 'amount': 334.55, 'timestamp': 1778511358.7494767}\n", "Sent to stream_demo\n", "Sent: {'user_id': 97, 'amount': 175.74, 'timestamp': 1778511359.778717}\n", "Sent to stream_demo\n", "Sent: {'user_id': 11, 'amount': 28.0, 'timestamp': 1778511360.8082385}\n", "Sent to stream_demo\n", "Sent: {'user_id': 45, 'amount': 4640.08, 'timestamp': 1778511361.8380072}\n", "Sent to stream_demo\n", "Sent: {'user_id': 65, 'amount': 431.82, 'timestamp': 1778511362.867109}\n", "Sent to stream_demo\n", "Sent: {'user_id': 57, 'amount': 76.8, 'timestamp': 1778511363.896208}\n", "Sent to stream_demo\n", "Sent: {'user_id': 49, 'amount': 326.43, 'timestamp': 1778511364.926}\n", "Sent to stream_demo\n", "Sent: {'user_id': 14, 'amount': 380.05, 'timestamp': 1778511365.9555354}\n", "Sent to stream_demo\n", "Sent: {'user_id': 98, 'amount': 386.28, 'timestamp': 1778511366.985018}\n", "Sent to stream_demo\n", "Sent: {'user_id': 80, 'amount': 108.11, 'timestamp': 1778511368.0144603}\n", "Sent to stream_demo\n", "Sent: {'user_id': 64, 'amount': 88.32, 'timestamp': 1778511369.0440292}\n", "Sent to stream_demo\n", "Sent: {'user_id': 17, 'amount': 81.13, 'timestamp': 1778511370.0732422}\n", "Sent to stream_demo\n", "Sent: {'user_id': 36, 'amount': 354.94, 'timestamp': 1778511371.1031008}\n", "Sent to stream_demo\n", "Sent: {'user_id': 86, 'amount': 482.82, 'timestamp': 1778511372.1328013}\n", "Sent to stream_demo\n", "Sent: {'user_id': 28, 'amount': 393.66, 'timestamp': 1778511373.1636593}\n", "Sent to stream_demo\n", "Sent: {'user_id': 50, 'amount': 37.59, 'timestamp': 1778511374.1931074}\n", "Sent to stream_demo\n", "Sent: {'user_id': 29, 'amount': 214.77, 'timestamp': 1778511375.2223637}\n", "Sent to stream_demo\n", "Sent: {'user_id': 45, 'amount': 217.0, 'timestamp': 1778511376.2527895}\n", "Sent to stream_demo\n", "Sent: {'user_id': 82, 'amount': 2144.6, 'timestamp': 1778511377.2819576}\n", "Sent to stream_demo\n", "Sent: {'user_id': 76, 'amount': 212.62, 'timestamp': 1778511378.311455}\n", "Sent to stream_demo\n", "Sent: {'user_id': 50, 'amount': 213.21, 'timestamp': 1778511379.3413396}\n", "Sent to stream_demo\n", "Sent: {'user_id': 32, 'amount': 26.78, 'timestamp': 1778511380.370435}\n", "Sent to stream_demo\n", "Sent: {'user_id': 94, 'amount': 487.0, 'timestamp': 1778511381.3991995}\n", "Sent to stream_demo\n", "Sent: {'user_id': 50, 'amount': 3277.11, 'timestamp': 1778511382.428711}\n", "Sent to stream_demo\n", "Sent: {'user_id': 76, 'amount': 368.53, 'timestamp': 1778511383.4579372}\n", "Sent to stream_demo\n", "Sent: {'user_id': 96, 'amount': 212.98, 'timestamp': 1778511384.4876306}\n", "Sent to stream_demo\n", "Sent: {'user_id': 93, 'amount': 280.32, 'timestamp': 1778511385.517118}\n", "Sent to stream_demo\n", "Sent: {'user_id': 51, 'amount': 470.25, 'timestamp': 1778511386.5463636}\n", "Sent to stream_demo\n", "Sent: {'user_id': 32, 'amount': 283.28, 'timestamp': 1778511387.5755749}\n", "Sent to stream_demo\n", "Sent: {'user_id': 25, 'amount': 262.34, 'timestamp': 1778511388.6044967}\n", "Sent to stream_demo\n", "Sent: {'user_id': 39, 'amount': 431.99, 'timestamp': 1778511389.633773}\n", "Sent to stream_demo\n", "Sent: {'user_id': 27, 'amount': 34.74, 'timestamp': 1778511390.6628053}\n", "Sent to stream_demo\n", "Sent: {'user_id': 18, 'amount': 464.53, 'timestamp': 1778511391.6928563}\n", "Sent to stream_demo\n", "Sent: {'user_id': 69, 'amount': 445.34, 'timestamp': 1778511392.7220206}\n", "Sent to stream_demo\n", "Sent: {'user_id': 31, 'amount': 240.32, 'timestamp': 1778511393.7516139}\n", "Sent to stream_demo\n", "Sent: {'user_id': 27, 'amount': 460.73, 'timestamp': 1778511394.7804701}\n", "Sent to stream_demo\n", "Sent: {'user_id': 58, 'amount': 409.12, 'timestamp': 1778511395.8099442}\n", "Sent to stream_demo\n", "Sent: {'user_id': 41, 'amount': 182.31, 'timestamp': 1778511396.8393257}\n", "Sent to stream_demo\n", "Sent: {'user_id': 40, 'amount': 478.24, 'timestamp': 1778511397.8693314}\n", "Sent to stream_demo\n", "Sent: {'user_id': 11, 'amount': 113.85, 'timestamp': 1778511398.8991601}\n" ] }, { "output_type": "error", "ename": "KeyboardInterrupt", "evalue": "", "traceback": [ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", "\u001b[0;31mKeyboardInterrupt\u001b[0m Traceback (most recent call last)", "\u001b[0;32m/tmp/ipykernel_12363/3578812429.py\u001b[0m in \u001b[0;36m\u001b[0;34m()\u001b[0m\n\u001b[1;32m 49\u001b[0m \u001b[0mprint\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"Sent:\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mtransaction\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 50\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 51\u001b[0;31m \u001b[0mtime\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msleep\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;36m1\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m", "\u001b[0;31mKeyboardInterrupt\u001b[0m: " ] } ] } ] }