Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/guides/ingest-timeseries.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ sends once 10 000 points have accumulated or the oldest is 200 ms old. `add` nev
network, and closing the buffer flushes what is left:

```java
import ai.intellistream.datahub.sdk.ingest.BinaryIngestBuffer;
import ai.intellistream.datahub.sdk.client.BinaryIngestBuffer;

try (BinaryIngestBuffer buffer = client.timeseries().binaryBuffer()) {
buffer.add("engine_temperature", Instant.now(), 92.4);
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/realtime-subscriptions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ to the timeout and returns `null` on a quiet interval (it is a blocking queue ha
**not** network polling):

```java
import ai.intellistream.datahub.sdk.subscriptions.SubscriptionListener;
import ai.intellistream.datahub.sdk.client.SubscriptionListener;
import java.time.Duration;

try (SubscriptionListener listener = client.subscriptions().listen(List.of("engine_room"))) {
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/subscriptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ Or drive `poll` yourself, a blocking queue hand-off (not network polling) that r
to ack on your own schedule:

```java
import ai.intellistream.datahub.sdk.subscriptions.SubscriptionListener;
import ai.intellistream.datahub.sdk.client.SubscriptionListener;
import java.time.Duration;

try (SubscriptionListener listener = client.subscriptions().listen(List.of("engine_temps"))) {
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/timeseries.md
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ never blocks on the network; flushes run on a thread of their own. Python and Ru
binary buffer: collect the readings and call `insert_datapoints_binary` yourself.

```java
import ai.intellistream.datahub.sdk.ingest.BinaryIngestBuffer;
import ai.intellistream.datahub.sdk.client.BinaryIngestBuffer;

try (BinaryIngestBuffer buffer = client.timeseries().binaryBuffer()) { // 10 000 points or 200 ms
buffer.add("engine_temperature", Instant.now(), 92.4);
Expand Down
Loading