diff --git a/SeaweedFS-Java-Client.md b/SeaweedFS-Java-Client.md index 596cf82..46b793c 100644 --- a/SeaweedFS-Java-Client.md +++ b/SeaweedFS-Java-Client.md @@ -12,6 +12,15 @@ Implemented APIs for file system storage. The blob storage APIs is not included. * **Monitor Filesystem Events** You can watch all meta data changes recursively under any folder. Common `inotify` only support watch for events under one folder, and not recursively. * **Read Ahead** When reading large files and processing the current chunk, the next chunk will be pre-fetched. +## Note + +When creating a `FilerClient` object, the port `18888` in the example is the default gRPC port. +When starting filer, `weed filer -port=8888`, the port 8888 is default http port. + +``` + FilerClient filerClient = new FilerClient("localhost", 18888); +``` + ## Read File ```