Skip to content

Commit

Permalink
enterprise quick start -> http > tcp
Browse files Browse the repository at this point in the history
  • Loading branch information
goodroot committed Dec 4, 2024
1 parent d1533d2 commit b219779
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions documentation/guides/enterprise-quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ Now, this private key is then added to the client.

This provides authenticated access to QuestDB for the "ingest" user.

For example, if you are leveraging Java:
For example, if you are leveraging Java and our recommended InfluxDB Line Protocol over HTTP client:

```java
Java client example:
Expand All @@ -248,8 +248,8 @@ import java.time.temporal.ChronoUnit;

public class ILPMain {
public static void main(String[] args) {
try (Sender sender = Sender.builder(Sender.Transport.TCP)
.address("localhost:9009")
try (Sender sender = Sender.builder(Sender.Transport.HTTP)
.address("localhost:9000")
.enableTls()
.enableAuth("ingest")
.authToken("kom7j38LG44HcPfO92oZ4558e6KoeTHn6H5rA8vK3PQ")
Expand Down

0 comments on commit b219779

Please sign in to comment.