0

the scala class is declared as below:

private[kafka] abstract class AbstractServerThread(connectionQuotas: ConnectionQuotas) extends Runnable with Logging { 
  ....
}

I don't know what's the meaning of [].

Anyone could give me the answer?

tristansokol
  • 4,054
  • 2
  • 17
  • 32
wuchang
  • 3,003
  • 8
  • 42
  • 66

1 Answers1

2

This means that this class is private to the kafka package (can only be accessed from within that package).

Joe K
  • 18,204
  • 2
  • 36
  • 58