To configure Segment's Java SDK with a custom API host:
Analytics analytics = Analytics.builder("<EVEFAN_SOURCE_WRITE_KEY>") .setUploadURL("<EVEFAN_HOST>") .build();
Here's their official guide.
Last updated 1 month ago