Skip to content

Commit

Permalink
rename hstream-kafka-cli to hstream-kafka (#1736)
Browse files Browse the repository at this point in the history
  • Loading branch information
daleiz authored Jan 12, 2024
1 parent 76c4c8c commit ea17d76
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ COPY --from=ld_image /logdevice/common/test/ssl_certs/ /logdevice/common/test/ss

COPY --from=builder /root/.cabal/bin/hstream-server \
/root/.cabal/bin/hstream-server-old \
/root/.cabal/bin/hstream-kafka-cli \
/root/.cabal/bin/hstream-kafka \
/root/.cabal/bin/hstream \
/root/.cabal/bin/hadmin \
/root/.cabal/bin/hstore-bench-writter \
Expand All @@ -165,7 +165,7 @@ RUN mkdir -p /etc/bash_completion.d && \
grep -wq '^source /etc/profile.d/bash_completion.sh' /etc/bash.bashrc || echo 'source /etc/profile.d/bash_completion.sh' >> /etc/bash.bashrc && \
/usr/local/bin/hadmin --bash-completion-script /usr/local/bin/hadmin > /etc/bash_completion.d/hadmin && \
/usr/local/bin/hadmin-store --bash-completion-script /usr/local/bin/hadmin-store > /etc/bash_completion.d/hadmin-store && \
/usr/local/bin/hstream-kafka-cli --bash-completion-script /usr/local/bin/hstream-kafka-cli > /etc/bash_completion.d/hstream-kafka-cli && \
/usr/local/bin/hkcli --bash-completion-script /usr/local/bin/hkcli > /etc/bash_completion.d/hkcli && \
/usr/local/bin/hstream --bash-completion-script /usr/local/bin/hstream > /etc/bash_completion.d/hstream

EXPOSE 6560 6570
Expand Down
2 changes: 1 addition & 1 deletion hstream-kafka/HStream/Kafka/Client/Api.hs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import qualified Kafka.Protocol.Message as K
import qualified Kafka.Protocol.Service as K

clientId :: K.NullableString
clientId = Just "hstream-kafka-cli"
clientId = Just "hstream-kafka"

withSendAndRecv :: String -> Int -> (ClientHandler -> IO a) -> IO a
withSendAndRecv host port =
Expand Down
2 changes: 1 addition & 1 deletion hstream/hstream.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ executable hstream
default-language: Haskell2010
ghc-options: -threaded -rtsopts -with-rtsopts=-N

executable hstream-kafka-cli
executable hstream-kafka
if flag(hstream_enable_asan)
import: shared-properties, link-asan

Expand Down

0 comments on commit ea17d76

Please sign in to comment.